Update luci-app-passwall2.patch

This commit is contained in:
kiddin9
2026-08-14 17:35:27 +08:00
committed by GitHub
parent 7d4efab083
commit dc71ed3a81
+3 -3
View File
@@ -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)