From e5df8175478670a6c467b54f330d37138667b6e8 Mon Sep 17 00:00:00 2001 From: xiaojie Date: Mon, 19 Aug 2024 10:20:39 +0800 Subject: [PATCH] =?UTF-8?q?HOST=E4=BF=AE=E5=A4=8D=EF=BC=8C=E4=BB=8A?= =?UTF-8?q?=E5=A4=A9=E5=8F=91=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hippo/ehviewer/client/EhHosts.java | 65 +++++++++---------- 1 file changed, 32 insertions(+), 33 deletions(-) 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;