Skip to content

Commit

Permalink
fix: Language should now be permanent across pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanziness committed Jul 12, 2021
1 parent 05fe487 commit 35eb99c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ export default {
// If enabled, a cookie is set once a user has been redirected to his
// preferred language to prevent subsequent redirections
// Set to false to redirect every time
useCookie: false,
useCookie: true,
// Set to override the default domain of the cookie. Defaults to host of the site.
cookieDomain: null,
// Cookie name
cookieKey: 'i18n_redirected',
cookieKey: 'lang',
// Set to always redirect to value stored in the cookie, not just once
alwaysRedirect: false,
// If no locale for the browsers locale is a match, use this one as a fallback
Expand Down

0 comments on commit 35eb99c

Please sign in to comment.