Let okhttp verify the host

This commit is contained in:
tehcneko committed 2021-03-28 20:32:11 +08:00
1 parent 9d6665b3fb
commit 4eb9cfe120
1 file changed
-1
@@ -156,7 +156,6 @@ public class EhApplication extends SceneApplication {
.callTimeout(10, TimeUnit.SECONDS)
.cookieJar(getEhCookieStore(application))
.cache(getOkHttpCache(application))
.hostnameVerifier((hostname, session) -> true)
.dns(new EhDns(application))
.addNetworkInterceptor(chain -> {
try {