This commit is contained in:
maaa 2023-07-10 01:49:54 +02:00
parent f500e68dce
commit 0ce3b90c68
2 changed files with 2 additions and 1 deletions

2
main
View File

@ -470,7 +470,7 @@ def apicomments(post_id):
return comments
@app.route("/cdn/<filename>", 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)

View File

@ -2,6 +2,7 @@
body {
margin: 0;
overflow-x: hidden;
font-family: "Inter", sans-serif;
}