diff --git a/luci-app-passwall2/Makefile b/luci-app-passwall2/Makefile index a697e7f1d..3d19ccbca 100644 --- a/luci-app-passwall2/Makefile +++ b/luci-app-passwall2/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall2 -PKG_VERSION:=1.23-3 +PKG_VERSION:=1.24-1 PKG_RELEASE:= PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua b/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua index 7d504daef..9f4ff8325 100644 --- a/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua +++ b/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua @@ -1412,7 +1412,7 @@ function gen_config(var) outbound = "dns-out" }) - local content = flag .. node_id .. jsonc.stringify(dns) + local content = flag .. node_id .. jsonc.stringify(route.rules) if api.cacheFileCompareToLogic(CACHE_TEXT_FILE, content) == false then --clear ipset/nftset if direct_ipset then diff --git a/luci-app-passwall2/luasrc/passwall2/util_xray.lua b/luci-app-passwall2/luasrc/passwall2/util_xray.lua index d09a418fb..6188c7531 100644 --- a/luci-app-passwall2/luasrc/passwall2/util_xray.lua +++ b/luci-app-passwall2/luasrc/passwall2/util_xray.lua @@ -1271,7 +1271,7 @@ function gen_config(var) dns.hosts = nil end - local content = flag .. node_id .. jsonc.stringify(dns) + local content = flag .. node_id .. jsonc.stringify(routing.rules) if api.cacheFileCompareToLogic(CACHE_TEXT_FILE, content) == false then --clear ipset/nftset if direct_ipset then diff --git a/luci-app-passwall2/luasrc/view/passwall2/global/status.htm b/luci-app-passwall2/luasrc/view/passwall2/global/status.htm index 008809926..58e2821e0 100644 --- a/luci-app-passwall2/luasrc/view/passwall2/global/status.htm +++ b/luci-app-passwall2/luasrc/view/passwall2/global/status.htm @@ -91,7 +91,7 @@ https://github.com/pure-css/pure/blob/master/LICENSE.md