mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 16:44:23 +08:00
🎉 Sync 2026-04-09 08:43:26
This commit is contained in:
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
|
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"))
|
sys.call(string.format("echo '%s' >> %s", value["_id"], api.TMP_PATH .. "/direct_node_list"))
|
||||||
end
|
end
|
||||||
if not value.detour and value.type ~= "direct" then
|
if not value.detour and value.server then
|
||||||
value.detour = "direct"
|
value.detour = "direct"
|
||||||
end
|
end
|
||||||
if value.server and not api.datatypes.hostname(value.server) then
|
if value.server and not api.datatypes.hostname(value.server) then
|
||||||
|
|||||||
Reference in new issue
Block a user