From bb861cfedef1e5531f31b62dd73907b89ddd473a Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 22 Jul 2024 22:51:08 +0200 Subject: [PATCH] fix: fix BASE_URL build conf --- frontend/src/lib/navigation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/navigation.ts b/frontend/src/lib/navigation.ts index a09de19da7..8a677e5eff 100644 --- a/frontend/src/lib/navigation.ts +++ b/frontend/src/lib/navigation.ts @@ -5,7 +5,7 @@ export function goto(path, options = {}) { if (svelteBase == '') { return svelteGoto(path, options) } else { - const fullPath = path.startsWith(svelteBase) ? path : `${svelteBase}/${path}` + const fullPath = path.startsWith(svelteBase) ? path : `${svelteBase}${path}` return svelteGoto(fullPath, options) } }