big chungus commit

This commit is contained in:
Aevann1 2022-02-12 01:32:14 +02:00
parent 03ce2f9707
commit cffc44bc9f
46 changed files with 372 additions and 135 deletions

View file

@ -392,9 +392,7 @@ def leaderboard(v):
@app.get("/@<username>/css")
def get_css(username):
user = get_user(username)
if user.css: css = user.css
else: css = ""
resp=make_response(css)
resp=make_response(user.css or "")
resp.headers.add("Content-Type", "text/css")
return resp