eggjs / eggjs/egg

session 不支持设置domain吗 尝试了如下设置均不生效

Open
#4,904 2 comments 0 reactions 0 assignees View on GitHub
Inactive
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

尝试了如下设置均不生效 文档中也没找到

`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']
};`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.