Update luci-app-passwall.patch

This commit is contained in:
kiddin9 2026-06-05 21:55:55 +08:00 committed by GitHub
parent 0d9e33f025
commit cb7b3df3a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,18 +101,6 @@
config PACKAGE_$(PKG_NAME)_INCLUDE_Xray_Plugin
bool "Include Xray-Plugin (Shadowsocks Plugin)"
--- a/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe_config.lua
+++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe_config.lua
@@ -134,7 +134,7 @@ o.validate = function(self, value)
end
o = s:option(Flag, "allowInsecure", translate("allowInsecure"))
-o.default = "0"
+o.default = "1"
o.rmempty = false
o.description = translate("Whether unsafe connections are allowed. When checked, Certificate validation will be skipped.") .. "<br>" ..
translate("Used when the node link does not include this parameter.")
--- a/luci-app-passwall/luasrc/controller/passwall.lua
+++ b/luci-app-passwall/luasrc/controller/passwall.lua
@@ -21,6 +21,8 @@ function index()