fix: correction accès backendia avec yunohost
Build & Release Android APK / build-apk (push) Failing after 2m1s

This commit is contained in:
streaper2
2026-08-26 22:10:03 +02:00
parent c0177b19e3
commit e889456bfa
4 changed files with 84 additions and 2 deletions
+4 -1
View File
@@ -59,7 +59,10 @@ class _SettingsScreenState extends State<SettingsScreen> {
final walletHash = sha256.convert(phraseBytes).toString();
final baseUrl = await _walletService.getServerBaseUrl();
final response = await http.get(Uri.parse('$baseUrl/api/stats/$walletHash')).timeout(
final response = await http.get(
Uri.parse('$baseUrl/api/stats/$walletHash'),
headers: {'X-API-KEY': WalletIdentityService.apiKey},
).timeout(
const Duration(seconds: 4),
);