it's in milliseconds..

This commit is contained in:
Evert Prants 2019-03-10 13:25:09 +02:00
parent 6e07960150
commit 914a03b21f
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -31,7 +31,7 @@ app.use(session({
saveUninitialized: true,
cookie: {
secure: process.env.NODE_ENV !== 'development',
maxAge: 2678400 // 1 month
maxAge: 2678400000 // 1 month
}
}))