nsarrazin HF staff commited on
Commit
5b0d756
1 Parent(s): a08ec0a

Quick fix for base setup

Browse files
Files changed (1) hide show
  1. src/routes/+layout.svelte +1 -1
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
  }