Browse Source

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.
pull/146/head
Duke 3 months ago
parent
commit
3b79e5fcd0
  1. 4
      src/controller.cpp

4
src/controller.cpp

@ -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);

Loading…
Cancel
Save