From c02dc3a493cf66f5c4a6ccd2a1155c3f8c2e37ef Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 22 Feb 2021 13:43:33 +0100 Subject: added dynamic api routing --- api/game/random.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/game/random.py') diff --git a/api/game/random.py b/api/game/random.py index ab4323d..38b9ba6 100644 --- a/api/game/random.py +++ b/api/game/random.py @@ -42,3 +42,5 @@ def index(): player_1 = False return { "id": game_id, "player_1": player_1 }, 200 + +dynamic_route = ["/game", random_game] -- cgit v1.2.3