fix(prod): corriger URL API prod et bundler fonts Roboto
- apiBaseUrl: https://api.lions.dev → https://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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user