From 8cb9cdd6a773c40abdcb2bdcb87e88d7f9f8cb47 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 28 Oct 2024 22:32:38 +0100 Subject: [PATCH] fix: made sure that the cookie we use does not have the cross origin flag set --- webclient/nuxt.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webclient/nuxt.config.ts b/webclient/nuxt.config.ts index 5a8ca5e5a..6bb9f2e5e 100644 --- a/webclient/nuxt.config.ts +++ b/webclient/nuxt.config.ts @@ -100,8 +100,9 @@ export default defineNuxtConfig({ ], defaultLocale: "de", detectBrowserLanguage: { + useCookie: true, cookieKey: "lang", - cookieCrossOrigin: true, + cookieCrossOrigin: false, redirectOn: "root", // only redirect if somebody visits / to have better SEO }, },