Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: select env with domain #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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