diff --git a/titles/chuni/index.py b/titles/chuni/index.py index b736427..ea9f2dc 100644 --- a/titles/chuni/index.py +++ b/titles/chuni/index.py @@ -154,10 +154,10 @@ class ChuniServlet(BaseServlet): return (f"http://{self.core_cfg.title.hostname}/{game_ver}/", "") def render_POST(self, request: Request, game_code: int, matchers: Dict) -> bytes: - url_path = matchers['endpoint'] + endpoint = matchers['endpoint'] version = int(matchers['version']) - if url_path.lower() == "ping": + if endpoint.lower() == "ping": return zlib.compress(b'{"returnCode": "1"}') req_raw = request.content.getvalue()