diff --git a/Telegram/SourceFiles/core/update_checker.cpp b/Telegram/SourceFiles/core/update_checker.cpp index 2ceb8e8e5..18c78b209 100644 --- a/Telegram/SourceFiles/core/update_checker.cpp +++ b/Telegram/SourceFiles/core/update_checker.cpp @@ -613,7 +613,7 @@ HttpChecker::HttpChecker(bool testing) : Checker(testing) { void HttpChecker::start() { const auto path = Local::readAutoupdatePrefix() - + qstr("/current"); + + qstr("/updates.json"); auto url = QUrl(path); DEBUG_LOG(("Update Info: requesting update state")); const auto request = QNetworkRequest(url); @@ -726,7 +726,7 @@ std::optional HttpChecker::parseResponse( return validateLatestUrl( bestAvailableVersion, bestIsAvailableAlpha, - Local::readAutoupdatePrefix() + bestLink); + bestLink); } QString HttpChecker::validateLatestUrl(