Gaypoon
parent
70e1904f8c
commit
3934acfc7f
|
@ -865,6 +865,7 @@ if SITE == 'rdrama.net':
|
|||
'marseyismywaifu': 3377,
|
||||
'mimw': 3377,
|
||||
'heymoon': 3635,
|
||||
'gaypoon': 3635,
|
||||
'jollymoon': 3635,
|
||||
'chiobu': 5214,
|
||||
'mccox': 8239,
|
||||
|
|
|
@ -509,7 +509,7 @@ def post_sub_css(v:User, sub):
|
|||
def get_sub_css(sub):
|
||||
sub = g.db.query(Sub.css).filter_by(name=sub.strip().lower()).one_or_none()
|
||||
if not sub: abort(404)
|
||||
resp=make_response(sub.css or "")
|
||||
resp=make_response("")
|
||||
resp.headers.add("Content-Type", "text/css")
|
||||
return resp
|
||||
|
||||
|
|
|
@ -468,6 +468,7 @@ def get_css(id):
|
|||
@app.get("/<int:id>/profilecss")
|
||||
@limiter.limit(DEFAULT_RATELIMIT)
|
||||
def get_profilecss(id):
|
||||
return ''
|
||||
try: id = int(id)
|
||||
except: abort(404)
|
||||
|
||||
|
|
Loading…
Reference in New Issue