Skip to content

Conversation

@pndllxzzy
Copy link

If not set domain, it will use the url domain.
There may be 2 whistle_nohost_env in the cookie.

If not set domain, it will use the url domain.
There may be 2 whistle_nohost_env in the cookie.
@avwo
Copy link
Collaborator

avwo commented Aug 22, 2023

为什么要强制加 domain?

@pndllxzzy
Copy link
Author

和lib/plugins/whistle.nohost/lib/rulesServer.js 20行统一。
不然如果域名是xxx.yyy.zzz,切换环境时,cookie中会存在2个whistle_nohost_env(不同domain, xxx.yyy.zzz和yyy.zzz)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants