egg
egg copied to clipboard
session 不支持设置domain吗 尝试了如下设置均不生效
尝试了如下设置均不生效 文档中也没找到
config.session = { key: 'EGGSESSION', maxAge: 2592000000, httpOnly: false, encrypt: true, renew: true, domain: 'http://*.xxx.cn' };
config.session = { key: 'EGGSESSION', maxAge: 2592000000, httpOnly: false, encrypt: true, renew: true, domain: ['http://api.xxx.cn','http://www.xxx.cn'] };
remove http:// and *
可以设置吗,那个评论没看懂