From ff6a4590f7c318c98c2254c6c5f2b4add303e821 Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 31 Aug 2026 15:27:41 +0200 Subject: [PATCH] Configured Api settings --- ac_web/lib/Api/ApiConfig.dart | 2 +- ac_web/lib/main.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ac_web/lib/Api/ApiConfig.dart b/ac_web/lib/Api/ApiConfig.dart index ca2b528..90148e8 100644 --- a/ac_web/lib/Api/ApiConfig.dart +++ b/ac_web/lib/Api/ApiConfig.dart @@ -6,7 +6,7 @@ class ApiConfig { const ApiConfig({ this.scheme = 'http', this.host = 'localhost', - this.port = 5000, + this.port = 5118, 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 afe0449..6067f98 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: 5000)); + AcApi.configure(const ApiConfig(host: 'localhost', port: 5118)); runApp(const MainApp()); }