small nit BASE_URL

This commit is contained in:
Ruben Fiszel
2024-07-22 19:42:09 +02:00
parent 1beed5f346
commit 406414d24d
+1 -1
View File
@@ -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}`