diff --git a/assets/json/host.json b/assets/json/host.json index 2618363e0..15ed3d5b4 100644 --- a/assets/json/host.json +++ b/assets/json/host.json @@ -1,6 +1,6 @@ { - "app-api.pixiv.net": "210.140.131.199", - "oauth.secure.pixiv.net": "210.140.131.219", + "app-api.pixiv.net": "210.140.139.155", + "oauth.secure.pixiv.net": "210.140.139.155", "i.pximg.net": "210.140.92.144", "s.pximg.net": "210.140.92.143", "doh": "doh.dns.sb" diff --git a/lib/er/hoster.dart b/lib/er/hoster.dart index 17057529e..3aa392b7b 100644 --- a/lib/er/hoster.dart +++ b/lib/er/hoster.dart @@ -12,8 +12,8 @@ import 'package:path/path.dart' as Path; class Hoster { static Map _map = Map(); static Map _constMap = { - "app-api.pixiv.net": "210.140.131.199", - "oauth.secure.pixiv.net": "210.140.131.219", + "app-api.pixiv.net": "210.140.139.155", + "oauth.secure.pixiv.net": "210.140.139.155", "i.pximg.net": "210.140.92.149", "s.pximg.net": "210.140.92.143", "doh": "doh.dns.sb", diff --git a/lib/network/account_client.dart b/lib/network/account_client.dart index 7a5aed754..6ef7316d4 100644 --- a/lib/network/account_client.dart +++ b/lib/network/account_client.dart @@ -82,7 +82,7 @@ class AccountClient { AccountClient() { String time = getIsoDate(); this.httpClient = Dio() - ..options.baseUrl = "https://210.140.131.219" + ..options.baseUrl = "https://210.140.139.155" ..options.headers = { "X-Client-Time": time, "X-Client-Hash": getHash(time + hashSalt), diff --git a/lib/network/api_client.dart b/lib/network/api_client.dart index 88f7cbaa6..9e55fcb3a 100644 --- a/lib/network/api_client.dart +++ b/lib/network/api_client.dart @@ -80,7 +80,7 @@ class ApiClient { } httpClient = Dio() - ..options.baseUrl = "https://210.140.131.199" + ..options.baseUrl = "https://210.140.139.155" ..options.headers = { "X-Client-Time": time, "X-Client-Hash": getHash(time + hashSalt), diff --git a/lib/network/oauth_client.dart b/lib/network/oauth_client.dart index ffea1e8eb..bc4091fd4 100644 --- a/lib/network/oauth_client.dart +++ b/lib/network/oauth_client.dart @@ -64,7 +64,7 @@ class OAuthClient { String time = getIsoDate(); this.httpClient = Dio() // 🎵Liella!-ノンフィクション!!🎵 - ..options.baseUrl = "https://210.140.131.219" + ..options.baseUrl = "https://210.140.139.155" ..options.headers = { "X-Client-Time": time, "X-Client-Hash": getHash(time + hashSalt),