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
It's the #805 fix that doesn't play well with the latest changes.
The #805 is creating a redirect route from / to the default locale. I think I can just change that from a redirect route to a normal route. It should still trigger redirect but wouldn't force it to redirect to specific (default) locale.
Version
nuxt-i18n: 6.15.0
nuxt: 2.14.4
Nuxt configuration
mode:
Nuxt-i18n configuration
Reproduction Link
Demo: http://silent-watch.surge.sh/ru
Github: https://github.com/divine/i18n-static-redirect
It works on CodeSandbox because they don't support static target and runs in dev mode.
Steps to reproduce
When locale is changed cookie is being changed.
However on root path with
onlyOnRoot
option doesn't redirect based on stored cookie.What is Expected?
When visiting https://silent-watch.surge.sh/ru going back to https://successful-direction.surge.sh should redirect to
ru
.What is actually happening?
Redirection to /en
The text was updated successfully, but these errors were encountered: