modified: app.py
This commit is contained in:
6
app.py
6
app.py
@@ -185,6 +185,12 @@ def quiz(playlist_id):
|
||||
translations=get_translations()
|
||||
)
|
||||
|
||||
@app.route('/gamemodes/<playlist_id>')
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user