optimize: remove alidns from doh list

This commit is contained in:
mzz2017 committed 2020-09-12 22:19:34 +08:00
1 parent 862e2dc5af
commit a587232390
1 file changed
+1 -2
+1 -2
View File
@@ -226,8 +226,7 @@ func GetDohListNotNil() *string {
r := new(string)
_ = db.Get("system", "dohList", &r)
if len(strings.TrimSpace(*r)) == 0 {
*r = `https://doh.opendns.com/dns-query
https://dns.alidns.com/dns-query`
*r = `https://doh.opendns.com/dns-query`
}
return r
}