🎉 Sync 2026-04-09 08:43:26

This commit is contained in:
github-actions[bot] committed 2026-04-09 08:43:26 +08:00
1 parent acb728008a
commit 234914ab43
1 file changed
+1 -1
@@ -2101,7 +2101,7 @@ function gen_config(var)
if not value["_flag_proxy_tag"] and not value.detour and value["_id"] and value.server and value.server_port and not no_run then
sys.call(string.format("echo '%s' >> %s", value["_id"], api.TMP_PATH .. "/direct_node_list"))
end
if not value.detour and value.type ~= "direct" then
if not value.detour and value.server then
value.detour = "direct"
end
if value.server and not api.datatypes.hostname(value.server) then