mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-10 16:03:15 -04:00
Temp download from resource server over https
This commit is contained in:
parent
ed547fdb1e
commit
8077a9f5cf
@ -84,7 +84,7 @@ CC_NOINLINE static int MusicResource_Download(const char* hash) {
|
|||||||
cc_string url; char urlBuffer[URL_MAX_SIZE];
|
cc_string url; char urlBuffer[URL_MAX_SIZE];
|
||||||
|
|
||||||
String_InitArray(url, urlBuffer);
|
String_InitArray(url, urlBuffer);
|
||||||
String_Format3(&url, "http://resources.download.minecraft.net/%r%r/%c",
|
String_Format3(&url, "https://resources.download.minecraft.net/%r%r/%c",
|
||||||
&hash[0], &hash[1], hash);
|
&hash[0], &hash[1], hash);
|
||||||
return Http_AsyncGetData(&url, 0);
|
return Http_AsyncGetData(&url, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user