From 2df31704c1ed1cb4daaed45966467a47c2602fd9 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 21 Apr 2020 16:24:30 +0300 Subject: [PATCH] Fix cape url scheme --- http/skinsystem.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http/skinsystem.go b/http/skinsystem.go index 59976c6..5ab0d27 100644 --- a/http/skinsystem.go +++ b/http/skinsystem.go @@ -151,7 +151,8 @@ func (ctx *Skinsystem) texturesHandler(response http.ResponseWriter, request *ht if capeErr == nil && cape != nil { textures.Cape = &mojang.CapeTexturesResponse{ - Url: request.URL.Scheme + "://" + request.Host + "/cloaks/" + username, + // Use statically http since the application doesn't support TLS + Url: "http://" + request.Host + "/cloaks/" + username, } } } else {