aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--frontend/app/.server/session.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/app/.server/session.ts b/frontend/app/.server/session.ts
index f03f9fa..4730305 100644
--- a/frontend/app/.server/session.ts
+++ b/frontend/app/.server/session.ts
@@ -4,8 +4,7 @@ export const cookieOptions = {
sameSite: "lax" as const,
path: "/",
httpOnly: true,
- // secure: process.env.NODE_ENV === "production",
- secure: false, // TODO
+ secure: process.env.NODE_ENV === "production",
secrets: [process.env.ALBATROSS_COOKIE_SECRET ?? "local"],
};