From 8e8b1b974e911d4aa43f9d76e6fdecd86689cbae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Thu, 28 Jul 2022 16:40:06 +0800 Subject: [PATCH] Hide dns outbound in clash-dashboard --- experimental/clashapi/proxies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())