🎈 Sync 2026-03-21 18:41:20

This commit is contained in:
github-actions[bot] committed 2026-03-21 18:41:20 +08:00
1 parent 5168976bf5
commit d1bb7ce8e9
9 files changed
+271 -247

No files matched your search

@@ -506,8 +506,8 @@ function action_config_data()
return
end
local port_num = tonumber(port) or 0
if port_num < 1 or port_num > 65535 then
write_json({ ok = false, error = "invalid port" })
if port_num < 1025 or port_num > 65535 then
write_json({ ok = false, error = "invalid port (must be 1025-65535)" })
return
end
uci:set("openclawmgr", section, "port", port)