Skip to content

Commit 5f48c8b

Browse files
committed
chore: Place pagefind assets next to other assets
This allows us to match requests to pagefind URLs using our asset rate limiting rule instead of the catch-all rule. The pagefind assets were previously /pagefind. Now, they are placed alongside other assets under /_/pagefind.
1 parent b429abb commit 5f48c8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"ui"
1414
],
1515
"scripts": {
16-
"build-search-index": "npx pagefind --site build/site"
16+
"build-search-index": "npx pagefind --site build/site --output-subdir _/pagefind"
1717
}
1818
}

0 commit comments

Comments
 (0)