...
|
...
|
@@ -13,7 +13,7 @@ var grayroute = require("./mid/grayrouter"); |
|
|
var options = {
|
|
|
secret: 'yohobuy.shops', //session配置
|
|
|
// cookie: {secure: false, maxAge: 7200000},
|
|
|
cookie: {secure: false, maxAge: 7200000, domain: '.yohobuy.com'},
|
|
|
cookie: {secure: false, maxAge: 36000000, domain: '.yohobuy.com'},
|
|
|
resave: false,
|
|
|
saveUninitialized: true,
|
|
|
rolling: true
|
...
|
...
|
|