Skip to content

Commit 212bf29

Browse files
Update Example
1 parent c9b1dd9 commit 212bf29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class _MyHomePageState extends State<MyHomePage> {
7878
Future<String> fetchLocalHost() async {
7979
try {
8080
var dio = new Dio();
81-
var url = 'http://192.168.0.132:8000';
81+
var url = 'https://ip-api.com/json';
8282
var proxy = await FlutterSystemProxy.findProxyFromEnvironment(url);
8383
(dio.httpClientAdapter as DefaultHttpClientAdapter).onHttpClientCreate =
8484
(HttpClient client) {

0 commit comments

Comments
 (0)