added track visibility

This commit is contained in:
cool.gitter.choco
2025-02-04 21:47:46 -06:00
parent 8a65d6c5d4
commit c3ae4cbe82
5 changed files with 678 additions and 301 deletions

5
app.py
View File

@@ -64,6 +64,11 @@ def create_app():
# The id parameter is captured, but you can use it as needed.
return render_template('album.html')
@app.route('/track/<id>')
def serve_track(id):
# The id parameter is captured, but you can use it as needed.
return render_template('track.html')
@app.route('/static/<path:path>')
def serve_static(path):
return send_from_directory('static', path)