Skip to content

Commit

Permalink
HOST修复,今天发一版
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaojieonly committed Aug 19, 2024
1 parent 811ed1f commit e5df817
Showing 1 changed file with 32 additions and 33 deletions.
65 changes: 32 additions & 33 deletions app/src/main/java/com/hippo/ehviewer/client/EhHosts.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class EhHosts implements Dns {

static {
Map<String, List<InetAddress>> map = new HashMap<>();
if (Settings.getBuiltInHosts()){
if (Settings.getBuiltInHosts()) {
put(map, "e-hentai.org",
"104.20.18.168",
"104.20.19.168",
Expand All @@ -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;
Expand Down

0 comments on commit e5df817

Please sign in to comment.