updates
This commit is contained in:
parent
f500e68dce
commit
0ce3b90c68
2
main
2
main
|
@ -470,7 +470,7 @@ def apicomments(post_id):
|
||||||
return comments
|
return comments
|
||||||
|
|
||||||
@app.route("/cdn/<filename>", methods=("GET", "POST"))
|
@app.route("/cdn/<filename>", methods=("GET", "POST"))
|
||||||
@limiter.limit("8/second", override_defaults=False)
|
@limiter.limit("15/second", override_defaults=False)
|
||||||
def cdn(filename):
|
def cdn(filename):
|
||||||
if os.path.exists(os.path.join(UPLOAD_FOLDER, filename)):
|
if os.path.exists(os.path.join(UPLOAD_FOLDER, filename)):
|
||||||
return send_from_directory(UPLOAD_FOLDER, filename)
|
return send_from_directory(UPLOAD_FOLDER, filename)
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
font-family: "Inter", sans-serif;
|
font-family: "Inter", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue