Add localhost DNS support (#3384)

This commit is contained in:
mayampi01 authored and GitHub committed 2024-08-01 09:27:46 +08:00
1 parent bbdee92f37
commit bc7d1971ef
1 file changed
+1 -1
@@ -228,7 +228,7 @@ object Utils {
}
private fun isCoreDNSAddress(s: String): Boolean {
return s.startsWith("https") || s.startsWith("tcp") || s.startsWith("quic")
return s.startsWith("https") || s.startsWith("tcp") || s.startsWith("quic") || s == "localhost"
}
/**