Socks5无验证时不显示流量统计

更新PAC
This commit is contained in:
AmazingDM
2021-01-04 18:45:01 +08:00
parent a10410dafd
commit 528abe3fdd
8 changed files with 22 additions and 69 deletions

View File

@@ -39,7 +39,7 @@ namespace Netch.Controllers
if (mode.Type == 3)
{
if (mode.BypassChina)
if ((MainController.Server.Type == "Socks5" || MainController.Server.Type == "Trojan") && mode.BypassChina)
{
//启动PAC服务器
PACServerHandle.InitPACServer("127.0.0.1");