luci-app-mosdns: config.yaml: move hosts & redirect to exec sequence

This commit is contained in:
sbwml 2022-05-02 21:30:15 +08:00
parent 0de7158806
commit 4c7b31955b

View File

@ -7,8 +7,6 @@ plugin:
type: server type: server
args: args:
entry: entry:
- query_is_hosts_domain
- query_is_redirect_domain
- _no_ecs - _no_ecs
- _prefer_ipv4 - _prefer_ipv4
- _single_flight - _single_flight
@ -23,6 +21,8 @@ plugin:
type: sequence type: sequence
args: args:
exec: exec:
- query_is_hosts_domain
- query_is_redirect_domain
- if: - if:
- query_is_whitelist_domain - query_is_whitelist_domain
exec: exec: