From 20a4d60f219d8dfb38e853b0ba3276c8dabf7611 Mon Sep 17 00:00:00 2001 From: "XPS\\Micro" Date: Thu, 19 Mar 2026 07:18:15 +0100 Subject: [PATCH] fix: Fix API paths in Dictionary template for Traefik routing - API calls were using absolute paths (/api/words) but container runs under path prefix - Added apiBase variable to extract current pathname - All fetch calls now use relative paths: ${apiBase}/api/words - Fixes 404 errors when accessing Dictionary template through Traefik --- user-template-dictionary/templates/index.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/user-template-dictionary/templates/index.html b/user-template-dictionary/templates/index.html index 6f2ef65..aa0243d 100644 --- a/user-template-dictionary/templates/index.html +++ b/user-template-dictionary/templates/index.html @@ -419,6 +419,9 @@