We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9148d6 commit dcc4cf6Copy full SHA for dcc4cf6
docs/src/lib/components/navbar/Search.svelte
@@ -23,7 +23,7 @@
23
let results: EnrichedSearchResult[] = $state([]);
24
25
async function downloadIndex() {
26
- const response = await fetch(`${base}${documentName}`);
+ const response = await fetch(`${base}/${documentName}`);
27
const json = await response.json();
28
29
const index = await createNewIndex();
@@ -104,7 +104,7 @@
104
{#each results as result}
105
<Command.Item
106
onSelect={() => {
107
- if (result.match?.heading) goto(`${base}/${result.path}#${result.match.heading.id}`);
+ if (result.match?.heading) goto(`${base}${result.path}#${result.match.heading.id}`);
108
else goto(`${base}${result.path}`);
109
open = false;
110
}}
0 commit comments