diff --git a/ac_web/lib/Api/ApiConfig.dart b/ac_web/lib/Api/ApiConfig.dart index 90148e8..3ae7e9e 100644 --- a/ac_web/lib/Api/ApiConfig.dart +++ b/ac_web/lib/Api/ApiConfig.dart @@ -5,8 +5,8 @@ class ApiConfig { const ApiConfig({ this.scheme = 'http', - this.host = 'localhost', - this.port = 5118, + this.host = '10.10.50.30', + this.port = 12781, this.basePath = '', this.timeout = const Duration(seconds: 15), this.defaultHeaders = const {}, diff --git a/ac_web/lib/main.dart b/ac_web/lib/main.dart index 6067f98..64b6b1b 100644 --- a/ac_web/lib/main.dart +++ b/ac_web/lib/main.dart @@ -6,7 +6,7 @@ void main() { // Rest API of the backend. Plain http is fine, we only talk inside of a // trusted network. - AcApi.configure(const ApiConfig(host: 'localhost', port: 5118)); + AcApi.configure(const ApiConfig(host: '10.10.50.30', port: 12781)); runApp(const MainApp()); }