diff --git a/experimental/clashapi/proxies.go b/experimental/clashapi/proxies.go index 0324d448..c4d1df93 100644 --- a/experimental/clashapi/proxies.go +++ b/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())