From 406414d24d9e549f0aeeaa30426673d5e8a4a084 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 22 Jul 2024 19:42:09 +0200 Subject: [PATCH] small nit BASE_URL --- 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 fc83fdfc19..ba4e30577c 100644 --- a/frontend/src/lib/navigation.ts +++ b/frontend/src/lib/navigation.ts @@ -3,7 +3,7 @@ export { base } from '$lib/base' import { base } from '$lib/base' export function goto(path, options = {}) { - if (base == '') { + if (base == '/') { return svelteGoto(path, options) } else { const fullPath = path.startsWith(base) ? path : `${base}${path}`