Browse Source

Hide dns outbound in clash-dashboard

世界 3 years ago
parent
commit
83154eadd3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      experimental/clashapi/proxies.go

+ 1 - 1
experimental/clashapi/proxies.go

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