diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-11-04 13:18:35 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-11-04 13:18:35 +0100 |
commit | 58260da861a51d503fa6fb08f67918cc8dddd36f (patch) | |
tree | 3b355c675c356b328607b7d145f175bab2f6ed8e /api/logic/minecraft/auth | |
parent | 16cc20aefdccac7f68819b9c7bc6532a5f027b8b (diff) | |
download | PrismLauncher-58260da861a51d503fa6fb08f67918cc8dddd36f.tar.gz PrismLauncher-58260da861a51d503fa6fb08f67918cc8dddd36f.tar.bz2 PrismLauncher-58260da861a51d503fa6fb08f67918cc8dddd36f.zip |
NOISSUE remove use of obsolete URL constants, simplify the rest
Diffstat (limited to 'api/logic/minecraft/auth')
-rw-r--r-- | api/logic/minecraft/auth/YggdrasilTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/minecraft/auth/YggdrasilTask.cpp b/api/logic/minecraft/auth/YggdrasilTask.cpp index 4a63d9b1..54855565 100644 --- a/api/logic/minecraft/auth/YggdrasilTask.cpp +++ b/api/logic/minecraft/auth/YggdrasilTask.cpp @@ -42,7 +42,7 @@ void YggdrasilTask::executeTask() // Get the content of the request we're going to send to the server. QJsonDocument doc(getRequestContent()); - QUrl reqUrl("https://" + URLConstants::AUTH_BASE + getEndpoint()); + QUrl reqUrl(URLConstants::AUTH_BASE + getEndpoint()); QNetworkRequest netRequest(reqUrl); netRequest.setHeader(QNetworkRequest::ContentTypeHeader, "application/json"); |