diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index 677f35e19..921e91c1b 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=26.6.2 -PKG_RELEASE:=150 +PKG_RELEASE:=151 PKG_PO_VERSION:=$(PKG_VERSION) PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/type/ray.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/type/ray.lua index 5a73d7aa3..177f7c4c4 100644 --- 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,7 +431,7 @@ 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 +if api.compare_versions(os.date("%Y.%m.%d"), "<", "3026.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 }) diff --git a/luci-app-passwall2/Makefile b/luci-app-passwall2/Makefile index 0f48a47a2..68be28ad4 100644 --- a/luci-app-passwall2/Makefile +++ b/luci-app-passwall2/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall2 PKG_VERSION:=26.5.19 -PKG_RELEASE:=49 +PKG_RELEASE:=50 PKG_PO_VERSION:=$(PKG_VERSION) PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/type/ray.lua b/luci-app-passwall2/luasrc/model/cbi/passwall2/client/type/ray.lua index f1264f1fa..b3a32bc2c 100644 --- a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/type/ray.lua +++ b/luci-app-passwall2/luasrc/model/cbi/passwall2/client/type/ray.lua @@ -414,7 +414,7 @@ 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 +if api.compare_versions(os.date("%Y.%m.%d"), "<", "3026.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 })