Skip to content

Commit

Permalink
fix: use more relaxed browser i18n redirect policy
Browse files Browse the repository at this point in the history
  • Loading branch information
asvae committed Apr 21, 2023
1 parent d5f69fb commit 2e7f224
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ export default defineNuxtConfig({
strategy: 'prefix_and_default',

detectBrowserLanguage: {
redirectOn: 'all',
alwaysRedirect: true,
redirectOn: 'root',
useCookie: true,
cookieKey: 'i18n_locale',
},
Expand Down

0 comments on commit 2e7f224

Please sign in to comment.