update
This commit is contained in:
parent
72954496ea
commit
ff6bd0824d
1 changed files with 2 additions and 2 deletions
|
@ -5,13 +5,13 @@ import i18next, { t } from "i18next";
|
|||
// Cookies
|
||||
/// Language
|
||||
//// If the user is new to the site, set English as default
|
||||
if (Astro.cookies.get("Language").value === undefined) {
|
||||
if (Astro.cookies.get("Language") === undefined) {
|
||||
Astro.cookies.set("Language", "EN", {path: "/",sameSite: 'strict'})
|
||||
}
|
||||
|
||||
/// Telemtry
|
||||
//// Users should be opted-out by default
|
||||
if (Astro.cookies.get("Telemtry").value === undefined) {
|
||||
if (Astro.cookies.get("Telemtry") === undefined) {
|
||||
Astro.cookies.set("Telemtry", "Disabled", {path: "/",sameSite: 'strict'})
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue