mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 05:55:13 +08:00
🎉 Sync 2026-04-09 08:43:26
This commit is contained in:
1 parent
a4e69b8f7b
commit
11c4c5ad98
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
|
||||
|
||||
Reference in new issue
Block a user