更新 common/proxy.py

This commit is contained in:
2026-08-23 01:35:47 +08:00
parent dd4f2787d8
commit b8fdcd0ccf
-2
View File
@@ -1,5 +1,4 @@
# 警告:带有 WireGuard 的完全版转发器永不再维护。 # 警告:带有 WireGuard 的完全版转发器永不再维护。
@@ -139,7 +138,6 @@ PROXY_REG = r"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
_pac_server = None # {"server": TCPServer, "port": int} _pac_server = None # {"server": TCPServer, "port": int}
# 服务器 PAC 拉取失败时的回退:直接内置服务器上的完整 PAC(直连版本) # 服务器 PAC 拉取失败时的回退:直接内置服务器上的完整 PAC(直连版本)
# 内容来源: https://tunnel.rrrosmontis.icu/proxy.pac
# 实际使用时根据当前模式替换其中的代理地址 # 实际使用时根据当前模式替换其中的代理地址
_BUILT_IN_PAC_DIRECT = r'''function FindProxyForURL(url, host) { _BUILT_IN_PAC_DIRECT = r'''function FindProxyForURL(url, host) {
// RRPP 规则代理列表 — 仅以下域名走加密隧道 // RRPP 规则代理列表 — 仅以下域名走加密隧道