Skip to content

Commit 896c2af

Browse files
authored
docs(pagefind): resolve global search failing on subpath deployments (#8556)
1 parent dac45f5 commit 896c2af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.storybook/content-search/content-search.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ if (container) {
66
try {
77
new PagefindUI({
88
element: '#pagefind-ui',
9+
bundlePath: new URL('./pagefind/', import.meta.url).pathname,
910
showSubResults: true,
1011
showImages: false,
1112
showEmptyFilters: false,

0 commit comments

Comments
 (0)