v2.45.2 — JWT-Auth für yt-proxy: X-API-Key komplett entfernt, Bearer-Token überall

This commit is contained in:
Dustin
2026-08-03 02:49:30 +02:00
parent 4c987036bc
commit cd49e80293
4 changed files with 5 additions and 26 deletions
+1 -3
View File
@@ -36,9 +36,7 @@ class CloudService {
Map<String, String> get _authHeader {
final token = AuthService().token;
final headers = <String, String>{
'X-API-Key': AppConfig.ytProxyApiKey,
};
final headers = <String, String>{};
if (token != null && token.isNotEmpty) {
headers['Authorization'] = 'Bearer $token';
}