diff --git a/lxl-web/src/lib/components/Search.svelte b/lxl-web/src/lib/components/Search.svelte index 1d71cc7d8..bf27a2b6e 100644 --- a/lxl-web/src/lib/components/Search.svelte +++ b/lxl-web/src/lib/components/Search.svelte @@ -88,7 +88,7 @@ bind:value={q} language={lxlQuery} placeholder={$page.data.t('search.search')} - endpoint={'/api/supersearch'} + endpoint={`/api/${$page.data.locale}/supersearch`} queryFn={(query, cursor) => { return new URLSearchParams({ _q: query,