mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Only trust ddnet ca
This commit is contained in:
parent
97380494e6
commit
a58895291c
|
@ -3779,7 +3779,7 @@ void CClient::RequestDDNetRanks()
|
|||
Fetcher()->Escape(aEscaped, sizeof(aEscaped), g_Config.m_PlayerName);
|
||||
str_format(aUrl, sizeof(aUrl), "https://ddnet.tw/players/?json=%s", aEscaped);
|
||||
|
||||
m_pDDNetRanksTask = new CFetchTask(true, /*UseDDNetCA*/ false);
|
||||
m_pDDNetRanksTask = new CFetchTask(true, /*UseDDNetCA*/ true);
|
||||
Fetcher()->QueueAdd(m_pDDNetRanksTask, aUrl, "ddnet-ranks.json", IStorage::TYPE_SAVE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue