Skip to content

Commit 2e7331c

Browse files
Merge pull request #2 from Rushabhshroff/develop
Updated Example
2 parents f921685 + 5287158 commit 2e7331c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 = 'http://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)