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:.*?}",