update 2026-07-21 18:21:03

This commit is contained in:
action committed 2026-07-21 18:21:03 +08:00
1 parent db3c7acee5
commit 81f70a47ec
2 files changed
+8 -6

No files matched your search

@@ -154,8 +154,7 @@ function gen_outbound(flag, node, tag, proxy_table)
MaxConcurrentTry = 4
} or nil
},
network = (api.compare_versions(xray_version, "<", "26.7.11")) and node.transport or nil, -- Todo: Remove
method = (api.compare_versions(xray_version, ">=", "26.7.11")) and node.transport or nil, -- Todo: Remove version check
[(api.compare_versions(xray_version, "<", "26.7.11")) and "network" or "method"] = node.transport, -- Todo: Remove version check and "network"
security = node.stream_security,
tlsSettings = (node.stream_security == "tls") and {
serverName = node.tls_serverName,
@@ -646,8 +645,7 @@ function gen_config_server(node)
protocol = node.protocol,
settings = settings,
streamSettings = {
network = (api.compare_versions(xray_version, "<", "26.7.11")) and node.transport or nil, -- Todo: Remove
method = (api.compare_versions(xray_version, ">=", "26.7.11")) and node.transport or nil, -- Todo: Remove version check
[(api.compare_versions(xray_version, "<", "26.7.11")) and "network" or "method"] = node.transport, -- Todo: Remove version check and "network"
security = "none",
tlsSettings = ("1" == node.tls) and {
disableSystemRoot = false,