mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 02:11:19 +08:00
Update luci-app-passwall.patch
This commit is contained in:
parent
ce598ef156
commit
31ddbb1ab7
12
.github/diy/patches/luci-app-passwall.patch
vendored
12
.github/diy/patches/luci-app-passwall.patch
vendored
@ -493,15 +493,3 @@ index 000000000000..a00fff9c79b3
|
||||
msgid "Auto"
|
||||
msgstr "自动"
|
||||
|
||||
|
||||
--- a/luci-app-passwall/luasrc/passwall/util_xray.lua
|
||||
+++ b/luci-app-passwall/luasrc/passwall/util_xray.lua
|
||||
@@ -152,7 +152,7 @@ function gen_outbound(flag, node, tag, proxy_table)
|
||||
serverName = node.tls_serverName,
|
||||
allowInsecure = (function()
|
||||
if node.tls_pinSHA256 and node.tls_pinSHA256 ~= "" then return nil end
|
||||
- if api.compare_versions(os.date("%Y.%m.%d"), "<", "2026.6.1") and node.tls_allowInsecure == "1" then return true end
|
||||
+ if node.tls_allowInsecure == "1" then return true end
|
||||
end)(),
|
||||
fingerprint = (node.type == "Xray" and node.utls == "1" and node.fingerprint and node.fingerprint ~= "") and node.fingerprint or nil,
|
||||
pinnedPeerCertSha256 = (function()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user