redirect does not work when using multiple root layouts #72352
Labels
bug
Issue was opened via the bug report template.
Navigation
Related to Next.js linking (e.g., <Link>) and navigation.
Link to the code that reproduces this issue
https://github.com/llipengda/next-redirect-bug
To Reproduce
/test-a
redirect to /
/test-b
redirect to /
Current vs. Expected behavior
current: when clicking
redirect to /
in/test-b
,redirect
does not work.expected: redirect to /
Provide environment information
Which area(s) are affected? (Select all that apply)
Navigation
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: