Selaa lähdekoodia

Hide dns outbound in clash-dashboard

世界 3 vuotta sitten
vanhempi
sitoutus
83154eadd3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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())