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
huozhi
changed the title
Streaming: static routes are caught by top root level dynamic routes
Streaming(edge): static routes are caught by top root level dynamic routes
Mar 23, 2022
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Top level dynamic routing component catches the routes of static files, leading to 404 for all static files
Expected Behavior
Dynamic routes shouldn't effect the static routes
To Reproduce
Create repro app with following code snippet
Set up global
runtime
option in next.config.js for streamingnext dev
localhost:3000/
, it works and showindex
localhost:3000/foo
, checkout network panels, all static routes requests failed with 404The text was updated successfully, but these errors were encountered: