big chungus commit
This commit is contained in:
parent
03ce2f9707
commit
cffc44bc9f
46 changed files with 372 additions and 135 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue