Authored by yyq

session maxAge 7 days

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