Skip to content

Commit

Permalink
fix(lxlweb): Provide lang to supersearch endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperengstrom committed Dec 20, 2024
1 parent 2cba5f4 commit bbdfeeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxl-web/src/lib/components/Search.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bbdfeeb

Please sign in to comment.