Update proxy.js

This commit is contained in:
Chai Feng 2024-10-09 11:37:46 +08:00
parent 0b4e98341d
commit bd8cc7c25a
No known key found for this signature in database
GPG Key ID: 2DCD9A24E523FFD2

View File

@ -10,8 +10,7 @@ var proxyBehaviors = {
proxy: "SOCKS5 127.0.0.1:1080", // the default proxy proxy: "SOCKS5 127.0.0.1:1080", // the default proxy
direct: DIRECT, direct: DIRECT,
blocked: "PROXY 0.0.0.0:0", blocked: "PROXY 0.0.0.0:0",
"http_proxy": "PROXY 127.0.0.1:3128", // "companyProxy": "PROXY 192.168.1.1:8080", // domains list in `domain-rules-companyProxy.txt` will use this proxy setting
"companyProxy": "PROXY 192.168.1.1:8080", // domains list in `domain-rules-companyProxy.txt` will use this proxy setting
}; };
const default_behavior = DIRECT + "; " + proxyBehaviors[proxy]; const default_behavior = DIRECT + "; " + proxyBehaviors[proxy];