forked from Dniel97/artemis
add handler for /mucha_front in addition to /mucha
This commit is contained in:
parent
156b4e4ede
commit
9f0c181593
23
index.py
23
index.py
@ -99,6 +99,7 @@ class HttpDispatcher(resource.Resource):
|
|||||||
conditions=dict(method=["POST"]),
|
conditions=dict(method=["POST"]),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Maintain compatability
|
||||||
self.map_post.connect(
|
self.map_post.connect(
|
||||||
"mucha_boardauth",
|
"mucha_boardauth",
|
||||||
"/mucha/boardauth.do",
|
"/mucha/boardauth.do",
|
||||||
@ -121,6 +122,28 @@ class HttpDispatcher(resource.Resource):
|
|||||||
conditions=dict(method=["POST"]),
|
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(
|
self.map_get.connect(
|
||||||
"title_get",
|
"title_get",
|
||||||
"/{game}/{version}/{endpoint:.*?}",
|
"/{game}/{version}/{endpoint:.*?}",
|
||||||
|
Loading…
Reference in New Issue
Block a user