From 1f829289edb8e4eda0e823e25f260056e5d9b8e8 Mon Sep 17 00:00:00 2001 From: PadowYT2 Date: Mon, 20 Jan 2025 21:36:02 +0300 Subject: [PATCH] Fix the API URL having www --- lib/app_sources/rustore.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/app_sources/rustore.dart b/lib/app_sources/rustore.dart index f569d80..13c35e0 100644 --- a/lib/app_sources/rustore.dart +++ b/lib/app_sources/rustore.dart @@ -38,7 +38,7 @@ class RuStore extends AppSource { ) async { String? appId = await tryInferringAppId(standardUrl); Response res0 = await sourceRequest( - 'https://backapi.${hosts[0]}/applicationData/overallInfo/${appId}', + 'https://backapi.rustore.ru/applicationData/overallInfo/$appId', additionalSettings); if (res0.statusCode != 200) { throw getObtainiumHttpError(res0); @@ -61,7 +61,7 @@ class RuStore extends AppSource { } Response res1 = await sourceRequest( - 'https://backapi.${hosts[0]}/applicationData/download-link', + 'https://backapi.rustore.ru/applicationData/download-link', additionalSettings, followRedirects: false, postBody: {"appId": appDetails['appId'], "firstInstall": true});