From dc71ed3a810933ec5b4690527b7b07e1a13c2bfc Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Fri, 14 Aug 2026 17:35:27 +0800 Subject: [PATCH] Update luci-app-passwall2.patch --- .github/diy/patches/luci-app-passwall2.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/diy/patches/luci-app-passwall2.patch b/.github/diy/patches/luci-app-passwall2.patch index ace0c1e0..b0b34ce1 100644 --- a/.github/diy/patches/luci-app-passwall2.patch +++ b/.github/diy/patches/luci-app-passwall2.patch @@ -108,7 +108,7 @@ +end + function reset_config() - uci:revert(appname) + uci:revert(c_config) luci.sys.call("echo '' > /tmp/log/passwall2.log") --- a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/global.lua @@ -116,8 +116,8 @@ @@ -387,5 +387,6 @@ footer.global_cfgid = global_cfgid footer.shunt_list = api.jsonc.stringify(shunt_list) - m:append(footer) -+m:append(Template(appname .. "/global/status_bottom")) + m:appendTemplate("/global/footer", {shunt_list = api.jsonc.stringify(shunt_list)}) ++m:appendTemplate(Template("/global/status_bottom")) return api.return_map(m)