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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user