fix(prod): corriger URL API prod et bundler fonts Roboto

- apiBaseUrl: https://api.lions.devhttps://api.lions.dev/unionflow
  (l'ingress K8s route /unionflow/* vers le backend)
- wsBaseUrl: wss://api.lions.dev → wss://api.lions.dev/unionflow
- Bundler 13 fichiers TTF Roboto dans google_fonts/
  (GoogleFonts.allowRuntimeFetching=false en prod crashait sans fonts locales)
- Déclarer google_fonts/ dans pubspec.yaml assets
This commit is contained in:
dahoud
2026-04-17 19:20:36 +00:00
parent 9ebb845cae
commit f96ab6e86e
15 changed files with 3 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -66,7 +66,7 @@ class AppConfig {
case Environment.prod:
apiBaseUrl = const String.fromEnvironment(
'API_URL',
defaultValue: 'https://api.lions.dev',
defaultValue: 'https://api.lions.dev/unionflow',
);
keycloakBaseUrl = const String.fromEnvironment(
'KEYCLOAK_URL',
@@ -74,7 +74,7 @@ class AppConfig {
);
wsBaseUrl = const String.fromEnvironment(
'WS_URL',
defaultValue: 'wss://api.lions.dev',
defaultValue: 'wss://api.lions.dev/unionflow',
);
enableDebugMode = false;
enableLogging = false;

View File

@@ -124,6 +124,7 @@ flutter:
uses-material-design: true
generate: true
assets:
- google_fonts/
- assets/images/
- assets/images/branding/
- assets/images/payment_methods/wave/