gf
This commit is contained in:
parent
29bfc8fa77
commit
814e23d058
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ def get_sub_css(sub):
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
@app.post("/s/<sub>/banner")
|
@app.post("/s/<sub>/banner")
|
||||||
@limiter.limit("1/second;30/minute;200/hour;1000/day")
|
@limiter.limit("1/second;10/day")
|
||||||
@is_not_permabanned
|
@is_not_permabanned
|
||||||
def sub_banner(v, sub):
|
def sub_banner(v, sub):
|
||||||
if v and v.patron:
|
if v and v.patron:
|
||||||
|
@ -216,7 +216,7 @@ def sub_banner(v, sub):
|
||||||
return redirect(f'/s/{sub.name}/settings')
|
return redirect(f'/s/{sub.name}/settings')
|
||||||
|
|
||||||
@app.post("/s/<sub>/sidebar_image")
|
@app.post("/s/<sub>/sidebar_image")
|
||||||
@limiter.limit("1/second;30/minute;200/hour;1000/day")
|
@limiter.limit("1/second;10/day")
|
||||||
@is_not_permabanned
|
@is_not_permabanned
|
||||||
def sub_sidebar(v, sub):
|
def sub_sidebar(v, sub):
|
||||||
if v and v.patron:
|
if v and v.patron:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue