Quick fix for base setup
Browse files
src/routes/+layout.svelte
CHANGED
@@ -109,7 +109,7 @@
|
|
109 |
|
110 |
$: if (browser && $page.url.searchParams.has("model")) {
|
111 |
if ($settings.activeModel === $page.url.searchParams.get("model")) {
|
112 |
-
goto(
|
113 |
}
|
114 |
$settings.activeModel = $page.url.searchParams.get("model") ?? $settings.activeModel;
|
115 |
}
|
|
|
109 |
|
110 |
$: if (browser && $page.url.searchParams.has("model")) {
|
111 |
if ($settings.activeModel === $page.url.searchParams.get("model")) {
|
112 |
+
goto(`${base}/?`);
|
113 |
}
|
114 |
$settings.activeModel = $page.url.searchParams.get("model") ?? $settings.activeModel;
|
115 |
}
|