mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
🔥 Sync 2026-07-31 20:41:05
This commit is contained in:
1 parent
d1ded93052
commit
3692297595
20 files changed
+253
-86
No files matched your search
@@ -139,6 +139,9 @@ s.extedit = api.url("node_subscribe_config", "%s")
|
||||
function s.create(e, t)
|
||||
m.no_commit = true
|
||||
local id = TypedSection.create(e, t)
|
||||
uci:set(appname, id, "hysteria_up_mbps", "100")
|
||||
uci:set(appname, id, "hysteria_down_mbps", "100")
|
||||
api.uci_save(uci, appname)
|
||||
luci.http.redirect(e.extedit:format(id))
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user