From 8d84c52570ef7223f1662a1af9a0ecd1144e4d40 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 3 May 2021 17:08:09 +0200 Subject: [PATCH] Fix issue with online configuration --- lib/forez/main_forez_online.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/forez/main_forez_online.dart b/lib/forez/main_forez_online.dart index 6f7bd83..a4c329c 100644 --- a/lib/forez/main_forez_online.dart +++ b/lib/forez/main_forez_online.dart @@ -1,17 +1,18 @@ import 'package:comunic/forez/init.dart'; import 'package:comunic/main.dart'; +import 'package:comunic/models/config.dart'; /// Forez online configuration /// /// @author Pierre Hubert void main() { - ForezConfig( + Config.set(ForezConfig( apiServerName: "api.communiquons.org", apiServerUri: "/", apiServerSecure: true, clientName: "ForezMobile", - ); + )); subMain(); }