From 9f0c1815938b696f3a6e4ca8577fb1056b1f7b24 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Tue, 25 Jul 2023 09:18:45 -0400 Subject: [PATCH] add handler for /mucha_front in addition to /mucha --- index.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/index.py b/index.py index cb569a0..1a6e4fd 100644 --- a/index.py +++ b/index.py @@ -99,6 +99,7 @@ class HttpDispatcher(resource.Resource): conditions=dict(method=["POST"]), ) + # Maintain compatability self.map_post.connect( "mucha_boardauth", "/mucha/boardauth.do", @@ -121,6 +122,28 @@ class HttpDispatcher(resource.Resource): conditions=dict(method=["POST"]), ) + self.map_post.connect( + "mucha_boardauth", + "/mucha_front/boardauth.do", + controller="mucha", + action="handle_boardauth", + conditions=dict(method=["POST"]), + ) + self.map_post.connect( + "mucha_updatacheck", + "/mucha_front/updatacheck.do", + controller="mucha", + action="handle_updatecheck", + conditions=dict(method=["POST"]), + ) + self.map_post.connect( + "mucha_dlstate", + "/mucha_front/downloadstate.do", + controller="mucha", + action="handle_dlstate", + conditions=dict(method=["POST"]), + ) + self.map_get.connect( "title_get", "/{game}/{version}/{endpoint:.*?}",