aboutsummaryrefslogtreecommitdiff
path: root/api/game/random.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-22 13:43:33 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-22 13:43:33 +0100
commitc02dc3a493cf66f5c4a6ccd2a1155c3f8c2e37ef (patch)
tree5e408e28cdf81e67bc1f2894d6df403d8b20671e /api/game/random.py
parent32aaaf92f2c06214abdc93e3cede07e067df6b88 (diff)
added dynamic api routing
Diffstat (limited to 'api/game/random.py')
-rw-r--r--api/game/random.py2
1 files changed, 2 insertions, 0 deletions
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]