Files
multimedia_flutter/lib/core/config.dart
T

25 lines
953 B
Dart

/// Globale Konfiguration. Standard: von `--dart-define` lesen.
/// Fallbacks sind hilfreich für lokale Tests.
class AppConfig {
static const backendBaseUrl = String.fromEnvironment(
'BACKEND_BASE_URL',
defaultValue: 'https://api.windesign.at/multimedia.php',
);
/// Token eines vorhandenen Users in deiner DB (users.api_token)
static const backendToken = String.fromEnvironment(
'BACKEND_TOKEN',
defaultValue: 'dasistwiedereinverystrongtoken',
);
/// TMDB API Key (nur lesend). Für Public-Apps besser: Server-Proxy/Caching.
static const tmdbApiKey = String.fromEnvironment(
'TMDB_API_KEY',
defaultValue: 'a33271b9e54cdcb9a80680eaf5522f1b',
///defaultValue: 'eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJhMzMyNzFiOWU1NGNkY2I5YTgwNjgwZWFmNTUyMmYxYiIsIm5iZiI6MTM0ODc2NTY2MS4wLCJzdWIiOiI1MDY0ODdkZDE5YzI5NTY2M2MwMDBhOGIiLCJzY29wZXMiOlsiYXBpX3JlYWQiXSwidmVyc2lvbiI6MX0.m26QybYBGQVY8OuL87FFae3ThPqAnOqEwgbLMtnH0wo'
);
}