feat(#14): redirection première connexion config

- Redirection vers /login après première config réussie
- Gestion défensive des réponses API (200/201, bool/string)
- Force l'onglet Paramètres si setup non terminé

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-15 23:02:12 +01:00
co-authored by Cursor
parent 31857ec891
commit 6752dc97b4
5 changed files with 48 additions and 37 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ class Env {
);
// Construit une URL vers l'API v1 à partir d'un chemin (commençant par '/')
static String apiV1(String path) => "${apiBaseUrl}/api/v1$path";
static String apiV1(String path) => '$apiBaseUrl/api/v1$path';
}