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,
|
||||
saveUninitialized: true,
|
||||
cookie: {
|
||||
expires: new Date(253402300799999),
|
||||
maxAge: 253402300799999,
|
||||
maxAge: 3600000,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue