mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
refactor: rename references to CurseForge to Flame
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
f1902a4471
commit
8a1a583afe
9 changed files with 29 additions and 18 deletions
|
|
@ -118,7 +118,7 @@ void Download::executeTask()
|
|||
|
||||
request.setHeader(QNetworkRequest::UserAgentHeader, APPLICATION->getUserAgent().toUtf8());
|
||||
if (request.url().host().contains("api.curseforge.com")) {
|
||||
request.setRawHeader("x-api-key", APPLICATION->getCurseKey().toUtf8());
|
||||
request.setRawHeader("x-api-key", APPLICATION->getFlameAPIKey().toUtf8());
|
||||
};
|
||||
|
||||
QNetworkReply* rep = m_network->get(request);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue