mirror of
https://github.com/kyantech/Palmr.git
synced 2025-10-23 06:11:58 +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,
|
||||
path: "/",
|
||||
sameSite: "lax",
|
||||
secure: process.env.NODE_ENV === "production",
|
||||
secure: false,
|
||||
});
|
||||
|
||||
router.refresh();
|
||||
|
Reference in New Issue
Block a user