This commit is contained in:
parent
3e252d34c3
commit
563af3d90f
1 changed files with 1 additions and 1 deletions
|
@ -128,6 +128,6 @@ export const {
|
||||||
|
|
||||||
locale.subscribe(($locale) => {
|
locale.subscribe(($locale) => {
|
||||||
if (typeof document !== 'undefined') {
|
if (typeof document !== 'undefined') {
|
||||||
document.cookie = `locale=${$locale}; path=/; SameSite=Strict;`;
|
document.cookie = `locale=${$locale}; path=/; SameSite=None; Secure`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue