This repository has been archived on 2026-08-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
melo-app/lib/config/app_config.dart
T
Hermes (Server) 9a880b0f21 Security: Cloud-Auth auf Bearer-JWT umgestellt (IDOR-Luecke geschlossen)
- cloud_service: echter Login gegen baka-auth, Token statt X-API-Key/X-User
- app_config: hartcodierten API-Key-Default entfernt
- download_service + melo_logger: Bearer-Token statt X-API-Key
- navidrome: Passwort in flutter_secure_storage (Keychain/Keystore)
- song: token-haltige stream_url wird nicht mehr in SQLite persistiert
- cloud_screen: Pfad-Traversal beim Download-Dateinamen gefixt (p.basename)
- home_screen: Login-Dialog mit Passwort-Feld, Auto-Sync nutzt restoreLogin
2026-07-31 14:31:12 +02:00

17 lines
653 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/// Zentrale App-Konfiguration alle URLs, Keys, Feature-Toggles
class AppConfig {
// Server-Adressen
static const navidromeUrl = 'https://musik.baka-net.de';
static const cloudUrl = 'https://cloud.baka-net.de';
static const logUrl = 'https://baka-net.de';
static const authUrl = 'https://baka-net.de/auth';
// Auth läuft über Bearer-Token aus dem Cloud-Login — KEIN hartcodierter Key mehr.
// (Alter Key melo-cloud-2026-secret-key wurde entfernt: steckte in jeder APK.)
static const ytProxyApiKey = String.fromEnvironment('MELO_API_KEY',
defaultValue: '');
// Feature-Toggles
static bool sendeDiagnosedaten = true;
}