🏅 Sync 2026-08-13 09:29:33

This commit is contained in:
github-actions[bot] committed 2026-08-13 09:29:33 +08:00
1 parent b22916db60
commit 08ad2012b5
40 files changed
+902 -494

No files matched your search

@@ -4,9 +4,14 @@ local uci = api.uci
local jsonc = api.jsonc
function gen_config_server(node)
local user = nil
if node.user then
user = uci:get_all("passwall2_server", node.user)
end
local config = {}
config.server_port = tonumber(node.port)
config.password = node.password
config.password = user and user.password or ""
config.timeout = tonumber(node.timeout)
config.fast_open = (node.tcp_fast_open and node.tcp_fast_open == "1") and true or false
config.method = node.method