fix: correction accès backendia avec yunohost
Build & Release Android APK / build-apk (push) Failing after 2m1s
Build & Release Android APK / build-apk (push) Failing after 2m1s
This commit is contained in:
@@ -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),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user