This commit is contained in:
indifferentketchup
2026-04-10 08:57:55 -05:00
parent eae801ff7d
commit a1cd67fd73
2 changed files with 13 additions and 20 deletions

View File

@@ -19,7 +19,8 @@ app.use(session({
saveUninitialized: false,
cookie: {
httpOnly: true,
secure: false, // set true if behind HTTPS proxy
secure: true,
sameSite: 'lax',
maxAge: 8 * 60 * 60 * 1000 // 8 hours
}
}));