core: move updatecheck to its own domain

This make it easier to move backend services around.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-02-09 10:37:55 -08:00
parent 2743e59415
commit 3693fe253b

View file

@ -43,7 +43,7 @@ void UpdateManager::checkForUpdates(bool automatic)
isAutomaticCheck = automatic;
QString version = subsurface_canonical_version();
QString uuidString = getUUID();
QString url = QString("http://subsurface-divelog.org/updatecheck.html?os=%1&version=%2&uuid=%3").arg(os, version, uuidString);
QString url = QString("http://updatecheck.subsurface-divelog.org/updatecheck.html?os=%1&version=%2&uuid=%3").arg(os, version, uuidString);
QNetworkRequest request;
request.setUrl(url);
request.setRawHeader("Accept", "text/xml");