fsd
This commit is contained in:
parent
51935d4b25
commit
f158261351
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ def songs(id):
|
||||||
else: abort(404)
|
else: abort(404)
|
||||||
|
|
||||||
@app.get("/@<username>/song")
|
@app.get("/@<username>/song")
|
||||||
def songs(username):
|
def usersong(username):
|
||||||
user = get_user(username)
|
user = get_user(username)
|
||||||
if user.song: return redirect(f"/static/song/{user.song}.mp3")
|
if user.song: return redirect(f"/static/song/{user.song}.mp3")
|
||||||
else: abort(404)
|
else: abort(404)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue