Compare commits
No commits in common. "c4758eac734f5c6c7303a19a0151d9e358ec213d" and "e1f8c15e9ad230831b8286553b0c7db2bf9eba12" have entirely different histories.
c4758eac73
...
e1f8c15e9a
@ -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,6 +108,8 @@ 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