diff --git a/main b/main index e2e1681..e9b6bda 100644 --- a/main +++ b/main @@ -470,7 +470,7 @@ def apicomments(post_id): return comments @app.route("/cdn/", methods=("GET", "POST")) -@limiter.limit("15/second", override_defaults=False) +@limiter.exempt def cdn(filename): if os.path.exists(os.path.join(UPLOAD_FOLDER, filename)): return send_from_directory(UPLOAD_FOLDER, filename)