mirror of
				https://github.com/elyby/chrly.git
				synced 2025-05-31 14:11:51 +05:30 
			
		
		
		
	Fix cape url scheme
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user