fix:deploy

This commit is contained in:
2026-03-10 02:17:02 +09:00
parent c13bc55998
commit b1c45b9e8a
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ await app.register(session, {
cookie: {
httpOnly: true,
secure: isProd, // HTTPS-only in production
sameSite: isProd ? "strict" : "lax", // strict in prod, lax in dev
sameSite: "lax",
maxAge: 7 * 24 * 60 * 60 * 1000, // 7 days in ms
},
saveUninitialized: false,