Dynamic Routes catching static routes on NextResponse.rewrite and redirect in turbopack and next 15.3 #78324
Unanswered
DrewLandgraveCbsi
asked this question in
Help
Replies: 2 comments
-
Just tried it with redirect as well and it's doing the same thing. I moved the dynamic catch-all route to a different directory and the rewrites/redirects started working |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've also tried adding explicit rewrites to my next config and that hasn't fixed it either |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
So when I do not use turbo back everything works as expected. I have a piece of middleware that does something like
Folder structure looks lie the following
The terminal says that's it's compiling
/payment/whoops
but then /payment[[...slug]]/page.tsx is rendered.When I'm not using turbopack
/payment/whoops/page.tsx
is renderedAdditional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions