yaml 解析http协议增加 allowInsecure 参数解析。

This commit is contained in:
yudehai 2025-02-17 11:12:07 +08:00
parent febb1e210e
commit 2ac691ac3a

View File

@ -246,6 +246,7 @@ object RawUpdater : GroupUpdater() {
serverPort = proxy["port"].toString().toInt()
username = proxy["username"]?.toString()
password = proxy["password"]?.toString()
allowInsecure = (proxy["skip-cert-verify"]?.toString() == "true")
setTLS(proxy["tls"]?.toString() == "true")
sni = proxy["sni"]?.toString()
name = proxy["name"]?.toString()