Fix the URL for checking releases

The URL was definitely wrong and the new URL should be correct but still doesn't seem to work.

According to https://git.hush.is/api/swagger#/repository/repoListReleases it should be the correct URL.
This commit is contained in:
Duke
2024-01-20 10:29:33 -05:00
parent e7a974ec47
commit 3b79e5fcd0

View File

@@ -1566,10 +1566,10 @@ void Controller::checkForUpdate(bool silent)
if (!zrpc->haveConnection())
return noConnection();
QUrl cmcURL("https://git.hush.is/repos/MyHush/SilentDragonLite/releases");
QUrl giteaURL("https://git.hush.is/repos/hush/SilentDragonLite/releases");
QNetworkRequest req;
req.setUrl(cmcURL);
req.setUrl(giteaURL);
QNetworkAccessManager *manager = new QNetworkAccessManager(this->main);
QNetworkReply *reply = manager->get(req);