This commit is contained in:
Korbs 2024-07-12 01:30:57 -04:00
parent 72954496ea
commit ff6bd0824d

View file

@ -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'})
}