cm: fix game server uris

This commit is contained in:
2023-11-05 22:38:25 -05:00
parent 3a1aa36482
commit 17d5bb3a3d
2 changed files with 8 additions and 2 deletions

View File

@ -71,6 +71,12 @@ class CardMakerServlet(BaseServlet):
return False
return True
def get_endpoint_matchers(self) -> Tuple[List[Tuple[str, str, Dict]], List[Tuple[str, str, Dict]]]:
return (
[],
[("render_POST", "/SDED/{version}/{endpoint}", {})]
)
def render_POST(self, request: Request, game_code: str, matchers: Dict) -> bytes:
version = int(matchers['version'])