...
|
...
|
@@ -65,7 +65,7 @@ module.exports = (app) => { |
|
|
cookie: {
|
|
|
domain: 'yohobuy.com',
|
|
|
httpOnly: true,
|
|
|
maxAge: 1000 * 60 * 60 * 24 * 7 // 7天
|
|
|
maxAge: 1000 * 60 * 60 * 24 * 30 // 30天
|
|
|
},
|
|
|
store: new RedisStore(Object.assign(config.redis.session, {
|
|
|
logErrors: (e) => {
|
...
|
...
|
|