We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c874b2 commit 5cabf23Copy full SHA for 5cabf23
lib/services/libproxydb_api.dart
@@ -21,7 +21,8 @@ class ProxyService {
21
await http.get(Uri.parse('https://libproxy-db.org/proxies.json'));
22
23
if (response.statusCode == 200) {
24
- final List<dynamic> jsonList = json.decode(response.body);
+ final decoded = utf8.decode(response.bodyBytes);
25
+ final List<dynamic> jsonList = json.decode(decoded);
26
27
return jsonList.map((json) => ProxyData.fromJson(json)).toList();
28
} else {
0 commit comments