Skip to content

Commit

Permalink
fix: or not to fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Feb 11, 2024
1 parent aa176cd commit 36a68b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SearchInt.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface Props {
}
const { id, className, query, uiOptions = {} } = Astro.props as Props;
const bundlePath = `${import.meta.env.PUBLIC_BASE || process.env.PUBLIC_BASE || ""}/pagefind/`;
const bundlePath = `${import.meta.env.PUBLIC_BASE || (process.env.PUBLIC_BASE && "/" + (import.meta.env.PUBLIC_BASE || process.env.PUBLIC_BASE))}/pagefind/`;
---

<div
Expand Down

0 comments on commit 36a68b0

Please sign in to comment.