update 2024-10-09 09:24:46

This commit is contained in:
kenzok8 2024-10-09 09:24:46 +08:00
parent 3c661e8cc6
commit 82de1d1d29

View File

@ -885,7 +885,11 @@ function gen_config(var)
local outbound_tag
if outbound then
set_outbound_detour(_node, outbound, outbounds, rule_name)
table.insert(outbounds, outbound)
if rule_name == "default" then
table.insert(outbounds, 1, outbound)
else
table.insert(outbounds, outbound)
end
outbound_tag = outbound.tag
end
return outbound_tag, nil
@ -1022,6 +1026,7 @@ function gen_config(var)
end
end)
--[[
if default_outbound_tag or default_balancer_tag then
table.insert(rules, {
type = "field",
@ -1030,6 +1035,7 @@ function gen_config(var)
network = "tcp,udp"
})
end
]]--
routing = {
domainStrategy = node.domainStrategy or "AsIs",