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