diff --git a/site/src/components/SearchWidget.astro b/site/src/components/SearchWidget.astro index 57dc0f8..58dbdbe 100644 --- a/site/src/components/SearchWidget.astro +++ b/site/src/components/SearchWidget.astro @@ -5,7 +5,7 @@ interface Props { class?: string; } const { class: extraClass = '' } = Astro.props; -const base = import.meta.env.BASE_URL; +const base = import.meta.env.BASE_URL.replace(/\/$/, ''); --- @@ -14,7 +14,7 @@ const base = import.meta.env.BASE_URL;