parent
e744194a38
commit
fa4de8f4b7
@ -733,6 +733,7 @@ function gen_config_server(node)
|
|||||||
-- Migrate logics
|
-- Migrate logics
|
||||||
-- https://sing-box.sagernet.org/migration/
|
-- https://sing-box.sagernet.org/migration/
|
||||||
for i = #config.outbounds, 1, -1 do
|
for i = #config.outbounds, 1, -1 do
|
||||||
|
local value = config.outbounds[i]
|
||||||
if value.type == "block" then
|
if value.type == "block" then
|
||||||
-- https://sing-box.sagernet.org/migration/#migrate-legacy-special-outbounds-to-rule-actions
|
-- https://sing-box.sagernet.org/migration/#migrate-legacy-special-outbounds-to-rule-actions
|
||||||
table.remove(config.outbounds, i)
|
table.remove(config.outbounds, i)
|
||||||
|
Loading…
Reference in New Issue
Block a user