fix: update language switcher secure cookie setting

- Changed the secure cookie setting in the LanguageSwitcher component from production-only to false, ensuring compatibility in non-production environments.
This commit is contained in:
Daniel Luiz Alves
2025-05-31 02:46:57 -03:00
parent 7a77c0a1c1
commit 3677b6e494

View File

@@ -46,7 +46,7 @@ export function LanguageSwitcher() {
maxAge: COOKIE_MAX_AGE,
path: "/",
sameSite: "lax",
secure: process.env.NODE_ENV === "production",
secure: false,
});
router.refresh();