We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5578bc0 commit f519509Copy full SHA for f519509
src/runtime/plugins/03.define.ts
@@ -62,13 +62,13 @@ export default defineNuxtPlugin(async (nuxtApp) => {
62
}
63
64
if (import.meta.server) {
65
- if (isPrefixStrategy(i18nConfig.strategy!)) {
+ if (isPrefixStrategy(i18nConfig.strategy!) || isNoPrefixStrategy(i18nConfig.strategy!)) {
66
await handleRedirect(route)
67
68
69
70
router.beforeEach(async (to, from, next) => {
71
72
await handleRedirect(to)
73
74
if (next) {
0 commit comments