fix: ip info

This commit is contained in:
Hiddify
2024-02-21 22:25:20 +01:00
parent b16295bee5
commit 3a2bb83764
3 changed files with 20 additions and 20 deletions

View File

@@ -121,7 +121,7 @@ class ProxyRepositoryImpl
final Map<String, IpInfo Function(Map<String, dynamic> response)>
_ipInfoSources = {
// "https://geolocation-db.com/json/": IpInfo.fromGeolocationDbComJson,
// "https://geolocation-db.com/json/": IpInfo.fromGeolocationDbComJson, //bug response is not json
"https://api.ip.sb/geoip/": IpInfo.fromIpSbJson,
"https://ipapi.co/json/": IpInfo.fromIpApiCoJson,
"https://ipinfo.io/json/": IpInfo.fromIpInfoIoJson,