Skip to content

Commit

Permalink
Merge pull request #218 from inbo/fix-spatial-hub-language-settings
Browse files Browse the repository at this point in the history
Fix spatial hub language settings
  • Loading branch information
StefanVanDyck authored Dec 16, 2024
2 parents a2c559c + 57e47a6 commit f0667f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion branding/app/js/i18next-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const detectorOptions = {
lookupCookie: 'vbp-lang',
cookieMinutes: 525600, // a year
cookiePath: '/',
cookieDomain: settings.mainDomain,
cookieDomain: `.${settings.mainDomain}`,
cookieOptions: { path: '/', sameSite: 'strict', secure: settings.mainLAUrl.startsWith('https') },
caches: ['cookie'],
excludeCacheFor: ['cimode']
Expand Down

0 comments on commit f0667f4

Please sign in to comment.