Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix middleware 404 prefetch case #46782

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Mar 5, 2023

Ensures we properly generate the 404 page when a path is being prefetched with middleware configured.

Bug

  • Related issues linked using fixes #number
  • Integration tests added
  • Errors have a helpful link attached, see contributing.md

Closes: #38239 (comment)

@kodiakhq kodiakhq bot merged commit 9dd24a5 into vercel:canary Mar 5, 2023
@ijjk ijjk deleted the fix/not-found-404-prefetch branch March 5, 2023 03:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Middleware + notFound is not working
3 participants