mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-11 02:44:57 +08:00
Update luci-app-passwall2.patch
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user