diff --git a/app/src/main/java/com/hippo/ehviewer/client/EhHosts.java b/app/src/main/java/com/hippo/ehviewer/client/EhHosts.java index 83e63e502..2808f36cf 100644 --- a/app/src/main/java/com/hippo/ehviewer/client/EhHosts.java +++ b/app/src/main/java/com/hippo/ehviewer/client/EhHosts.java @@ -50,7 +50,7 @@ public class EhHosts implements Dns { static { Map> map = new HashMap<>(); - if (Settings.getBuiltInHosts()){ + if (Settings.getBuiltInHosts()) { put(map, "e-hentai.org", "104.20.18.168", "104.20.19.168", @@ -61,46 +61,45 @@ public class EhHosts implements Dns { "178.162.145.131", "178.162.145.132", "178.162.145.152" - ); + ); put(map, "repo.e-hentai.org", "94.100.28.57", "94.100.29.73"); put(map, "forums.e-hentai.org", "94.100.18.243"); - put(map, "upld.e-hentai.org", "94.100.18.249","94.100.18.247"); - put(map, "upld.exhentai.org", "178.175.132.22","178.175.129.254","178.175.128.254"); - put(map, "ehgt.org", "37.48.89.44", "81.171.10.48", "178.162.139.24" - , "2001:1af8:4700:a062:8::47de"); + put(map, "upld.e-hentai.org", "94.100.18.249", "94.100.18.247"); + put(map, "upld.exhentai.org", "178.175.132.22", "178.175.129.254", "178.175.128.254"); + put(map, "ehgt.org", "109.236.85.28", "62.112.8.21", "89.39.106.43"); put(map, "raw.githubusercontent.com", "151.101.0.133", "151.101.64.133", "151.101.128.133", "151.101.192.133"); } - if (Settings.getBuiltEXHosts()){ + if (Settings.getBuiltEXHosts()) { put(map, "exhentai.org", - "178.175.128.251", - "178.175.128.252", - "178.175.128.253", - "178.175.128.254", - "178.175.129.251", - "178.175.129.252", - "178.175.129.253", - "178.175.129.254", - "178.175.132.19", - "178.175.132.20", - "178.175.132.21", - "178.175.132.22" - ); + "178.175.128.251", + "178.175.128.252", + "178.175.128.253", + "178.175.128.254", + "178.175.129.251", + "178.175.129.252", + "178.175.129.253", + "178.175.129.254", + "178.175.132.19", + "178.175.132.20", + "178.175.132.21", + "178.175.132.22" + ); put(map, "s.exhentai.org", - "178.175.128.251", - "178.175.128.252", - "178.175.128.253", - "178.175.128.254", - "178.175.129.251", - "178.175.129.252", - "178.175.129.253", - "178.175.129.254", - "178.175.132.19", - "178.175.132.20", - "178.175.132.21", - "178.175.132.22" - ); + "178.175.128.251", + "178.175.128.252", + "178.175.128.253", + "178.175.128.254", + "178.175.129.251", + "178.175.129.252", + "178.175.129.253", + "178.175.129.254", + "178.175.132.19", + "178.175.132.20", + "178.175.132.21", + "178.175.132.22" + ); } builtInHosts = map;