Browse Source

Fix skins in beta 1.2

master
mid-kid 2 weeks ago
parent
commit
e1a4e8ec31
  1. 4
      auth/server.py

4
auth/server.py

@ -30,7 +30,9 @@ class HTTPRequestHandler(BaseHTTPRequestHandler):
def do_GET(self): def do_GET(self):
if self.headers.get("Host") == "s3.amazonaws.com": if self.headers.get("Host") == "s3.amazonaws.com":
endpoints = { endpoints = {
"/MinecraftResources/": self._404 "/MinecraftResources/": self._404,
"/MinecraftSkins/": self.serve_skin,
"/MinecraftCloaks/": self.serve_cape
} }
elif self.headers.get("Host") == "www.minecraft.net": elif self.headers.get("Host") == "www.minecraft.net":
endpoints = { endpoints = {

Loading…
Cancel
Save