summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/auth/YggdrasilTask.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-11-04 13:18:35 +0100
committerPetr Mrázek <peterix@gmail.com>2018-11-04 13:18:35 +0100
commit58260da861a51d503fa6fb08f67918cc8dddd36f (patch)
tree3b355c675c356b328607b7d145f175bab2f6ed8e /api/logic/minecraft/auth/YggdrasilTask.cpp
parent16cc20aefdccac7f68819b9c7bc6532a5f027b8b (diff)
downloadMultiMC-58260da861a51d503fa6fb08f67918cc8dddd36f.tar
MultiMC-58260da861a51d503fa6fb08f67918cc8dddd36f.tar.gz
MultiMC-58260da861a51d503fa6fb08f67918cc8dddd36f.tar.lz
MultiMC-58260da861a51d503fa6fb08f67918cc8dddd36f.tar.xz
MultiMC-58260da861a51d503fa6fb08f67918cc8dddd36f.zip
NOISSUE remove use of obsolete URL constants, simplify the rest
Diffstat (limited to 'api/logic/minecraft/auth/YggdrasilTask.cpp')
-rw-r--r--api/logic/minecraft/auth/YggdrasilTask.cpp2
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");