Compare commits
2 Commits
e1f8c15e9a
...
c4758eac73
| Author | SHA1 | Date | |
|---|---|---|---|
| c4758eac73 | |||
| 1e45bd173b |
@ -6,8 +6,8 @@ import 'package:fbla_ui/shared/global_vars.dart';
|
|||||||
import 'package:fbla_ui/shared/utils.dart';
|
import 'package:fbla_ui/shared/utils.dart';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
|
|
||||||
// var apiAddress = 'https://homelab.marinodev.com/fbla-api';
|
var apiAddress = 'https://homelab.marinodev.com/fbla-api';
|
||||||
var apiAddress = 'http://192.168.0.114:8000/fbla-api';
|
// var apiAddress = 'http://192.168.0.114:8000/fbla-api';
|
||||||
|
|
||||||
var client = http.Client();
|
var client = http.Client();
|
||||||
|
|
||||||
@ -108,8 +108,6 @@ Future fetchBusinessDataOverviewJobs(
|
|||||||
return 'Unable to connect to server (timeout).\nPlease try again later.';
|
return 'Unable to connect to server (timeout).\nPlease try again later.';
|
||||||
} on SocketException {
|
} on SocketException {
|
||||||
return 'Unable to connect to server (socket exception).\nPlease check your internet connection.\n';
|
return 'Unable to connect to server (socket exception).\nPlease check your internet connection.\n';
|
||||||
} catch (e) {
|
|
||||||
print(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user