fix: use relative URL for search index to support alternate domains

This commit is contained in:
Tom Rochette committed 2026-05-21 04:04:45 +00:00
1 parent e9699d8c5d
commit d00e49601a
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
<div
id="search-wrapper"
class="invisible fixed inset-0 flex h-screen w-screen cursor-default flex-col bg-neutral-500/50 p-4 backdrop-blur-sm dark:bg-neutral-900/50 sm:p-6 md:p-[10vh] lg:p-[12vh] z-500"
data-url="{{ "" | absLangURL }}">
data-url="{{ "" | relLangURL }}">
<div
id="search-modal"
class="flex flex-col w-full max-w-3xl min-h-0 mx-auto border rounded-md shadow-lg top-20 border-neutral-200 bg-neutral dark:border-neutral-700 dark:bg-neutral-800">