diff --git a/changelog/v8.0.1+256.md b/changelog/v8.0.1+256.md new file mode 100644 index 00000000..42a55aed --- /dev/null +++ b/changelog/v8.0.1+256.md @@ -0,0 +1,5 @@ +- 回滚内置hosts #493 + +------------------------------------------------------------------------------------------ + +- Roll back the built-in hosts #493 \ No newline at end of file diff --git a/lib/src/setting/network_setting.dart b/lib/src/setting/network_setting.dart index f8c631c2..ad2aacc5 100644 --- a/lib/src/setting/network_setting.dart +++ b/lib/src/setting/network_setting.dart @@ -22,35 +22,7 @@ class NetworkSetting with JHLifeCircleBeanWithConfigStorage implements JHLifeCir RxInt receiveTimeout = 6000.obs; static const Map> host2IPs = { - 'e-hentai.org': [ - '104.20.18.168', - '104.20.19.168', - '172.67.2.238', - '178.162.139.11', - '178.162.139.12', - '178.162.139.13', - '178.162.139.14', - '178.162.139.15', - '178.162.139.16', - '178.162.139.33', - '178.162.139.34', - '178.162.139.36', - '178.162.145.131', - '178.162.145.132', - '178.162.145.152', - '37.48.89.1', - '37.48.89.13', - '37.48.89.14', - '37.48.89.15', - '37.48.89.2', - '37.48.89.20', - '37.48.89.25', - '37.48.89.26', - '37.48.89.3', - '81.171.10.49', - '81.171.10.51', - '81.171.10.53' - ], + 'e-hentai.org': ['104.20.18.168', '104.20.19.168', '172.67.2.238'], 'exhentai.org': [ '178.175.128.251', '178.175.128.252', @@ -67,12 +39,7 @@ class NetworkSetting with JHLifeCircleBeanWithConfigStorage implements JHLifeCir ], 'upld.e-hentai.org': ['94.100.18.249', '94.100.18.247'], 'api.e-hentai.org': ['178.162.147.246', '81.171.10.55', '178.162.139.18', '37.48.89.16'], - 'forums.e-hentai.org': [ - '104.20.18.168', - '104.20.19.168', - '172.67.2.238', - '94.100.18.243' - ], + 'forums.e-hentai.org': ['104.20.18.168', '104.20.19.168', '172.67.2.238', '94.100.18.243'], }; Set get allHostAndIPs => host2IPs.keys.toSet()..addAll(allIPs);