Skip to content

fix: Move pagefind assets back to /pagefind to fix broken search#892

Merged
dervoeti merged 1 commit into
mainfrom
fix/pagefind-search-baseurl
Jul 17, 2026
Merged

fix: Move pagefind assets back to /pagefind to fix broken search#892
dervoeti merged 1 commit into
mainfrom
fix/pagefind-search-baseurl

Conversation

@dervoeti

Copy link
Copy Markdown
Member

#883 moved the pagefind bundle from /pagefind/ to /_/pagefind/ so its requests would match the asset rate-limit rule. But pagefind derives its result baseUrl by stripping the /pagefind/ suffix off the bundle path. With the bundle at /_/pagefind/, the derived baseUrl became /_/, which got prepended to every search result URL.

Rate limiting was removed entirely in #885, so #883 no longer serves any purpose. This reverts the bundle back to /pagefind/.

@netlify

netlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploy Preview for stackable-docs ready!

Name Link
🔨 Latest commit d45c218
🔍 Latest deploy log https://app.netlify.com/projects/stackable-docs/deploys/6a59d7b9d1aa520008f33d7d
😎 Deploy Preview https://deploy-preview-892--stackable-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dervoeti dervoeti self-assigned this Jul 17, 2026
@dervoeti dervoeti moved this to Development: Waiting for Review in Stackable Engineering Jul 17, 2026

@razvan razvan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@dervoeti
dervoeti added this pull request to the merge queue Jul 17, 2026
@dervoeti dervoeti moved this from Development: Waiting for Review to Development: Done in Stackable Engineering Jul 17, 2026
Merged via the queue into main with commit 974db43 Jul 17, 2026
8 checks passed
@dervoeti
dervoeti deleted the fix/pagefind-search-baseurl branch July 17, 2026 07:30
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants