From d21355e9ffc3939fae31dd66d03a47abed3b8937 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 31 Oct 2025 19:48:30 +0100 Subject: [PATCH] modified: app.py --- app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app.py b/app.py index f9e4b1a..4bbc3ab 100644 --- a/app.py +++ b/app.py @@ -185,6 +185,12 @@ def quiz(playlist_id): translations=get_translations() ) +@app.route('/gamemodes/') +def gamemodes(playlist_id): + """Show available game modes for a playlist and forward to player selection.""" + user = session.get('user') + return render_template('gamemodes.html', playlist_id=playlist_id, translations=get_translations(), user=user) + @app.route("/search_track", methods=["POST"]) def search_track(): data = request.json