change maxage of cookies
This commit is contained in:
parent
d0abeb56b4
commit
c870a2dec5
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
@ -50,8 +50,7 @@ class Dashboard {
|
||||||
resave: true,
|
resave: true,
|
||||||
saveUninitialized: true,
|
saveUninitialized: true,
|
||||||
cookie: {
|
cookie: {
|
||||||
expires: new Date(253402300799999),
|
maxAge: 3600000,
|
||||||
maxAge: 253402300799999,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue