diff options
-rw-r--r-- | app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -140,7 +140,8 @@ app.use(session({ rolling: true, // reset maxAge on every response cookie: { maxAge: config.sessionLife, - sameSite: 'strict' + sameSite: 'strict', + secure: config.useSSL || config.protocolUseSSL || false }, store: sessionStore })) |