Configured Api settings

This commit is contained in:
2026-08-31 15:27:41 +02:00
parent 0561109e3c
commit ff6a4590f7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ class ApiConfig {
const ApiConfig({ const ApiConfig({
this.scheme = 'http', this.scheme = 'http',
this.host = 'localhost', this.host = 'localhost',
this.port = 5000, this.port = 5118,
this.basePath = '', this.basePath = '',
this.timeout = const Duration(seconds: 15), this.timeout = const Duration(seconds: 15),
this.defaultHeaders = const {}, this.defaultHeaders = const {},
+1 -1
View File
@@ -6,7 +6,7 @@ void main() {
// Rest API of the backend. Plain http is fine, we only talk inside of a // Rest API of the backend. Plain http is fine, we only talk inside of a
// trusted network. // trusted network.
AcApi.configure(const ApiConfig(host: 'localhost', port: 5000)); AcApi.configure(const ApiConfig(host: 'localhost', port: 5118));
runApp(const MainApp()); runApp(const MainApp());
} }