Skip to content

fix(loader): respect path prefix for 404 head check#39348

Draft
serhalp wants to merge 2 commits intomasterfrom
codex/add-test-coverage-and-fix-bug-for-issue-32142
Draft

fix(loader): respect path prefix for 404 head check#39348
serhalp wants to merge 2 commits intomasterfrom
codex/add-test-coverage-and-fix-bug-for-issue-32142

Conversation

@serhalp
Copy link
Member

@serhalp serhalp commented Aug 8, 2025

Summary

  • ensure 404 HTML HEAD requests include path prefix
  • add regression test for pathPrefix 404 behaviour

Testing

  • npx eslint packages/gatsby/cache-dir/loader.js packages/gatsby/cache-dir/__tests__/loader.js
  • yarn jest packages/gatsby/cache-dir/__tests__/loader.js

https://chatgpt.com/codex/tasks/task_e_689279740c9c8321bf1c14ea64e664b9

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 8, 2025
@serhalp serhalp linked an issue Aug 8, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Page 404 not rendering react when using pathPrefix and redirect

2 participants

Comments