Skip to content

Commit

Permalink
host
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtian616 committed Aug 14, 2024
1 parent f6c05de commit 2376058
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 35 deletions.
5 changes: 5 additions & 0 deletions changelog/v8.0.1+256.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- 回滚内置hosts #493

------------------------------------------------------------------------------------------

- Roll back the built-in hosts #493
37 changes: 2 additions & 35 deletions lib/src/setting/network_setting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,7 @@ class NetworkSetting with JHLifeCircleBeanWithConfigStorage implements JHLifeCir
RxInt receiveTimeout = 6000.obs;

static const Map<String, List<String>> 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',
Expand All @@ -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<String> get allHostAndIPs => host2IPs.keys.toSet()..addAll(allIPs);
Expand Down

0 comments on commit 2376058

Please sign in to comment.