This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
detectBrowserLanguage and alwaysRedirect unclear routing logic #3048
Labels
You can continue the conversation there. Go to discussion →
Environment
Reproduction
Describe the bug
Hi!
When using the
prefix_and_default
strategy and thedetectBrowserLanguage
option, the redirect logic is unclear.Current behavior:
site.com/
→ clickNL
→site.com/nl
→ change url manually tosite.com/
→ getsite.com/nl
What I expected from the parameter
alwaysRedirect: false
:site.com/
→ clickNL
→site.com/nl
→ change url manually tosite.com/
→ getsite.com/
Am I doing something wrong? Is there any way to fix this in nuxt.config.ts?
Additional context
Logs
No response
The text was updated successfully, but these errors were encountered: