mirror of https://github.com/status-im/codimd.git
commit
732d5bc289
3
app.js
3
app.js
|
@ -116,8 +116,7 @@ app.use(session({
|
|||
saveUninitialized: true, //always create session to ensure the origin
|
||||
rolling: true, // reset maxAge on every response
|
||||
cookie: {
|
||||
maxAge: config.sessionlife,
|
||||
expires: new Date(Date.now() + config.sessionlife)
|
||||
maxAge: config.sessionlife
|
||||
},
|
||||
store: sessionStore
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue