From da3d7c7bdb8ff53b924df5e15e583c8a3dde9555 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 3 Nov 2019 08:23:57 +1100 Subject: [PATCH] Use new skin server --- src/Http.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Http.c b/src/Http.c index 950a9ccd5..edc0f9da5 100644 --- a/src/Http.c +++ b/src/Http.c @@ -892,10 +892,11 @@ static void Http_WorkerLoop(void) { #ifdef CC_BUILD_WEB /* 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. */ -#define SKIN_SERVER "/skins/" +#define SKIN_SERVER "http://classicube.s3.amazonaws.com/skin/" #else /* 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 void Http_AsyncGetSkin(const String* skinName) {