diff --git a/.github/diy/patches/luci-app-passwall.patch b/.github/diy/patches/luci-app-passwall.patch index 27aad8fe..19b5429d 100644 --- a/.github/diy/patches/luci-app-passwall.patch +++ b/.github/diy/patches/luci-app-passwall.patch @@ -542,23 +542,3 @@ index 000000000000..a00fff9c79b3 end)(), fingerprint = (node.type == "Xray" and node.utls == "1" and node.fingerprint and node.fingerprint ~= "") and node.fingerprint or nil, pinnedPeerCertSha256 = (function() - ---- a/luci-app-passwall/luasrc/model/cbi/passwall/client/type/ray.lua -+++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/type/ray.lua -@@ -431,12 +431,10 @@ o = s:option(Value, _n("tls_serverName"), "SNI " .. translate("Domain")) - o:depends({ [_n("tls")] = true }) - o:depends({ [_n("protocol")] = "hysteria2" }) - --if api.compare_versions(os.date("%Y.%m.%d"), "<", "2026.6.1") then -- o = s:option(Flag, _n("tls_allowInsecure"), translate("allowInsecure"), translate("Whether unsafe connections are allowed. When checked, Certificate validation will be skipped.")) -- o.default = "0" -- o:depends({ [_n("tls")] = true, [_n("reality")] = false }) -- o:depends({ [_n("protocol")] = "hysteria2" }) --end -+o = s:option(Flag, _n("tls_allowInsecure"), translate("allowInsecure"), translate("Whether unsafe connections are allowed. When checked, Certificate validation will be skipped.")) -+o.default = "0" -+o:depends({ [_n("tls")] = true, [_n("reality")] = false }) -+o:depends({ [_n("protocol")] = "hysteria2" }) - - if api.compare_versions(xray_version, ">=", "26.1.31") then - o = s:option(Value, _n("tls_pinSHA256"), translate("TLS Chain Fingerprint (SHA256)"))