remotes/1693045480750635534/spooky-22
Aevann1 2022-05-03 23:19:24 +02:00
parent 2132703204
commit 08f3c88b86
1 changed files with 9 additions and 0 deletions

View File

@ -554,6 +554,15 @@ def get_profilecss(username):
resp.headers.add("Content-Type", "text/css")
return resp
@app.get("/id/<id>/profilecss")
def get_profilecss_id(id):
user = get_account(id)
if user.profilecss: profilecss = user.profilecss
else: profilecss = ""
resp=make_response(profilecss)
resp.headers.add("Content-Type", "text/css")
return resp
@app.get("/@<username>/song")
def usersong(username):
user = get_user(username)