mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 01:51:29 +00:00
Hide dns outbound in clash-dashboard
This commit is contained in:
parent
c0a2f77258
commit
83154eadd3
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue