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}`