mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-10 22:17:51 +08:00
update 2026-07-16 04:54:23
This commit is contained in:
1 parent
6bc60cfbf2
commit
151daa8c75
42 files changed
+645
-689
No files matched your search
@@ -2,6 +2,8 @@ local api = require "luci.passwall2.api"
|
||||
local com = require "luci.passwall2.com"
|
||||
local appname = api.appname
|
||||
|
||||
api.set_default_cbi()
|
||||
|
||||
m = Map(appname)
|
||||
api.set_apply_on_parse(m)
|
||||
|
||||
@@ -28,4 +30,4 @@ o.cfgvalue = function(t, n)
|
||||
return string.format('<font color="red">%s</font>', translate("if you want to run from memory, change the path, /tmp beginning then save the application and update it manually."))
|
||||
end
|
||||
|
||||
return m
|
||||
return api.return_map(m)
|
||||
Reference in new issue
Block a user