You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each time I visit /about.page which should be rewritten to /about, it will go through router.execute for all routes, but end at the page checker. The rewrites I've configured at next.config.js will be skipped.
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 28, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Next.js are you using?
10.0.7
What version of Node.js are you using?
12.20.1
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
next dev, codesandbox
Describe the Bug
When rewrite path matches custom page extension, visiting path with page extension results in 404.
Example
This issue only occurs in development mode. Production mode (next build) works well
Observed behavior
/about
result the content ofabout.page.js
/about.page
result 404Expected Behavior
/about
should result the content ofabout.page.js
/about.page
should result the content ofabout.page.js
as wellTo Reproduce
https://codesandbox.io/s/nextjs-page-ext-k5xp6
The text was updated successfully, but these errors were encountered: