mirror of
https://github.com/kyantech/Palmr.git
synced 2025-11-02 13:03:15 +00:00
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:
@@ -46,7 +46,7 @@ export function LanguageSwitcher() {
|
|||||||
maxAge: COOKIE_MAX_AGE,
|
maxAge: COOKIE_MAX_AGE,
|
||||||
path: "/",
|
path: "/",
|
||||||
sameSite: "lax",
|
sameSite: "lax",
|
||||||
secure: process.env.NODE_ENV === "production",
|
secure: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
router.refresh();
|
router.refresh();
|
||||||
|
|||||||
Reference in New Issue
Block a user