added artist view

This commit is contained in:
cool.gitter.choco
2025-02-04 22:05:07 -06:00
parent c3ae4cbe82
commit 215d47b638
5 changed files with 916 additions and 94 deletions

5
app.py
View File

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