forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-22 03:13:54 +02:00
parent 4a234e0121
commit 050bea7f96
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ def songs(id):
else: abort(404)
@app.get("/@<username>/song")
def songs(username):
def usersong(username):
user = get_user(username)
if user.song: return redirect(f"/static/song/{user.song}.mp3")
else: abort(404)