Skip to content

Commit 5b3c5b1

Browse files
committed
变更: 调整网络检测并发API为纯IP格式
1 parent 143293b commit 5b3c5b1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/common/request.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class Request {
130130

131131
final List<String> _ipInfoSources = [
132132
'https://1.1.1.1/cdn-cgi/trace',
133-
'https://cp.cloudflare.com/cdn-cgi/trace',
133+
'https://162.159.36.1/cdn-cgi/trace',
134134
];
135135

136136
final List<String> _domesticIpSources = [
@@ -217,7 +217,6 @@ class Request {
217217
}) async {
218218
return _checkIpFromSources(_domesticIpSources, cancelToken, timeout);
219219
}
220-
221220
}
222221

223222
final request = Request();

0 commit comments

Comments
 (0)