From 5d175862d06e460ac6a863d329113487d3b218cd Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 3 Jun 2026 15:47:00 +0800 Subject: [PATCH] Update luci-app-passwall2.patch --- .github/diy/patches/luci-app-passwall2.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/diy/patches/luci-app-passwall2.patch b/.github/diy/patches/luci-app-passwall2.patch index 060ee3c7..f35a730d 100644 --- a/.github/diy/patches/luci-app-passwall2.patch +++ b/.github/diy/patches/luci-app-passwall2.patch @@ -269,3 +269,15 @@ index 000000000000..a00fff9c79b3 + +window.addEventListener('resize', resize); + + +--- a/luci-app-passwall2/luasrc/passwall2/util_xray.lua ++++ b/luci-app-passwall2/luasrc/passwall2/util_xray.lua +@@ -176,7 +176,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()