idz: fix news url

This commit is contained in:
Kevin Trocolli committed 2023-11-08 23:54:35 -05:00
1 parent 4b22bd734e
commit eb10bc2560
2 files changed
+7 -3

No files matched your search

+2 -1
View File
@@ -85,7 +85,8 @@ class IDZServlet(BaseServlet):
def get_endpoint_matchers(self) -> Tuple[List[Tuple[str, str, Dict]], List[Tuple[str, str, Dict]]]:
return[
[("render_GET", "/{game}/{version}/{endpoint:.*?}", {'game': R'S...'})], # TODO: Slim this down to only the news stuff
[("render_GET", "/idz/news/{endpoint:.*?}", {}),
("render_GET", "/idz/error", {})],
[]
]