mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-21 02:58:45 +00:00
Disable SSL switch
This commit is contained in:
1 parent
5a61d8f782
commit
87977962dc
12 files changed
+75
-36
No files matched your search
@@ -25,6 +25,7 @@ _TRAY_DEFAULTS_COMMON: Dict[str, Any] = {
|
||||
"cfproxy_worker_enabled": False,
|
||||
"cfproxy_worker_domain": [],
|
||||
"force_test_dc": False,
|
||||
"no_secure": False,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -374,6 +374,7 @@ def apply_proxy_config(cfg: dict) -> bool:
|
||||
else []
|
||||
)
|
||||
pc.force_test_dc = cfg.get("force_test_dc", DEFAULT_CONFIG["force_test_dc"])
|
||||
pc.disable_secure = cfg.get("no_secure", DEFAULT_CONFIG["no_secure"])
|
||||
return True
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user