increase hole banner ratelimit

pull/64/head
Aevann1 2022-12-12 16:40:53 +02:00
parent f2a80c23ce
commit feead592a4
1 changed files with 2 additions and 2 deletions

View File

@ -446,9 +446,9 @@ def get_sub_css(sub):
return resp
@app.post("/h/<sub>/settings/banners/")
@limiter.limit("1/second;10/day")
@limiter.limit("1/second;50/day")
@is_not_permabanned
@ratelimit_user("1/second;10/day")
@ratelimit_user("1/second;50/day")
def upload_sub_banner(v:User, sub:str):
if g.is_tor: abort(403, "Image uploads are not allowed through Tor")