mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 18:45:23 -04:00
Use new skin server
This commit is contained in:
parent
5d11ebb5ad
commit
da3d7c7bdb
@ -892,10 +892,11 @@ static void Http_WorkerLoop(void) {
|
|||||||
#ifdef CC_BUILD_WEB
|
#ifdef CC_BUILD_WEB
|
||||||
/* Access to XMLHttpRequest at 'http://static.classicube.net' from origin 'http://www.classicube.net' has been blocked by CORS policy: */
|
/* Access to XMLHttpRequest at 'http://static.classicube.net' from origin 'http://www.classicube.net' has been blocked by CORS policy: */
|
||||||
/* No 'Access-Control-Allow-Origin' header is present on the requested resource. */
|
/* No 'Access-Control-Allow-Origin' header is present on the requested resource. */
|
||||||
#define SKIN_SERVER "/skins/"
|
#define SKIN_SERVER "http://classicube.s3.amazonaws.com/skin/"
|
||||||
#else
|
#else
|
||||||
/* Prefer static.classicube.net to avoid a pointless redirect */
|
/* Prefer static.classicube.net to avoid a pointless redirect */
|
||||||
#define SKIN_SERVER "http://static.classicube.net/skins/"
|
/* Skins were moved to use Amazon S3, so link directly to them */
|
||||||
|
#define SKIN_SERVER "http://classicube.s3.amazonaws.com/skin/"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void Http_AsyncGetSkin(const String* skinName) {
|
void Http_AsyncGetSkin(const String* skinName) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user