luci-app-passwall2: sync upstream

last commit: c5079c002f
This commit is contained in:
gitea-action 2025-02-04 02:00:22 +08:00
parent e744194a38
commit fa4de8f4b7

View File

@ -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)