fd
This commit is contained in:
parent
5cafe16f4b
commit
f0f8624fff
7 changed files with 35 additions and 31 deletions
|
@ -167,7 +167,7 @@ def get_profilecss(username):
|
|||
@app.get("/songs/<id>")
|
||||
def songs(id):
|
||||
try: id = int(id)
|
||||
except: return '', 400
|
||||
except: return "", 400
|
||||
user = g.db.query(User).filter_by(id=id).first()
|
||||
return redirect(f"/song/{user.song}.mp3")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue