Hide dns outbound in clash-dashboard

This commit is contained in:
世界 2022-07-28 16:40:06 +08:00
parent c0a2f77258
commit 83154eadd3
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -108,7 +108,7 @@ func getProxies(server *Server, router adapter.Router) func(w http.ResponseWrite
for _, detour := range outbounds { for _, detour := range outbounds {
switch detour.Type() { switch detour.Type() {
case C.TypeDirect, C.TypeBlock: case C.TypeDirect, C.TypeBlock, C.TypeDNS:
continue continue
} }
allProxies = append(allProxies, detour.Tag()) allProxies = append(allProxies, detour.Tag())