From ff6bd0824d4c7deaebef5fad516593da9d2475ce Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 12 Jul 2024 01:30:57 -0400 Subject: [PATCH] update --- src/components/global/Head.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/global/Head.astro b/src/components/global/Head.astro index b13a33c..495e94e 100644 --- a/src/components/global/Head.astro +++ b/src/components/global/Head.astro @@ -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'}) }