From 0ce3b90c684d25ff438e4888fa146eb10ef7f1ac Mon Sep 17 00:00:00 2001 From: maaa Date: Mon, 10 Jul 2023 01:49:54 +0200 Subject: [PATCH] updates --- main | 2 +- static/css/style.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main b/main index 983db38..e2e1681 100644 --- a/main +++ b/main @@ -470,7 +470,7 @@ def apicomments(post_id): return comments @app.route("/cdn/", methods=("GET", "POST")) -@limiter.limit("8/second", override_defaults=False) +@limiter.limit("15/second", override_defaults=False) def cdn(filename): if os.path.exists(os.path.join(UPLOAD_FOLDER, filename)): return send_from_directory(UPLOAD_FOLDER, filename) diff --git a/static/css/style.css b/static/css/style.css index 593058e..108e6f2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -2,6 +2,7 @@ body { margin: 0; + overflow-x: hidden; font-family: "Inter", sans-serif; }