fix: fix BASE_URL build conf

This commit is contained in:
Ruben Fiszel
2024-07-22 22:51:08 +02:00
parent 0f91539977
commit bb861cfede
+1 -1
View File
@@ -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)
}
}