Tencent / nohost

基于 Whistle 实现的多账号多环境远程配置及抓包调试平台
https://nohost.pro
Other
1.4k stars 160 forks source link

feat: select env with domain #205

Open pndllxzzy opened 10 months ago

pndllxzzy commented 10 months ago

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

avwo commented 10 months ago

为什么要强制加 domain?

pndllxzzy commented 10 months ago

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