diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 2aa5275ec..f238d8c2b 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -866,6 +866,7 @@ if SITE == 'rdrama.net': 'marseyismywaifu': 3377, 'mimw': 3377, 'heymoon': 3635, + 'gaypoon': 3635, 'jollymoon': 3635, 'chiobu': 5214, 'mccox': 8239, diff --git a/files/routes/subs.py b/files/routes/subs.py index f30c436e0..b2b3746e8 100644 --- a/files/routes/subs.py +++ b/files/routes/subs.py @@ -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 diff --git a/files/routes/users.py b/files/routes/users.py index b8c9f6bfc..f654df84a 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -468,6 +468,7 @@ def get_css(id): @app.get("//profilecss") @limiter.limit(DEFAULT_RATELIMIT) def get_profilecss(id): + return '' try: id = int(id) except: abort(404)