modified: app.py

modified:   locales/de-DE.json
	modified:   locales/en-EN.json
	new file:   templates/gamemodes.html
	modified:   templates/playlists.html
This commit is contained in:
SimolZimol
2025-06-04 16:14:41 +02:00
parent 3f689e6148
commit 2b37032048
5 changed files with 87 additions and 3 deletions

4
app.py
View File

@@ -294,5 +294,9 @@ def reset_quiz(playlist_id):
return redirect(url_for('quiz', playlist_id=playlist_id, mode=next_mode))
return redirect(url_for('playlists'))
@app.route("/gamemodes/<playlist_id>")
def gamemodes(playlist_id):
return render_template("gamemodes.html", playlist_id=playlist_id, translations=get_translations())
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000, debug=True)