Showing
1 changed file
with
3 additions
and
2 deletions
@@ -12,9 +12,10 @@ var grayroute = require("./mid/grayrouter"); | @@ -12,9 +12,10 @@ var grayroute = require("./mid/grayrouter"); | ||
12 | /*session 配置*/ | 12 | /*session 配置*/ |
13 | var options = { | 13 | var options = { |
14 | secret: 'yohobuy.portal', //session配置 | 14 | secret: 'yohobuy.portal', //session配置 |
15 | - cookie: {secure: false, maxAge: 3600000}, | 15 | + cookie: {secure: false, maxAge: 7200000}, |
16 | resave: false, | 16 | resave: false, |
17 | - saveUninitialized: true | 17 | + saveUninitialized: true, |
18 | + rolling: true | ||
18 | }; | 19 | }; |
19 | 20 | ||
20 | /*老平台接口 配置*/ | 21 | /*老平台接口 配置*/ |
-
Please register or login to post a comment