sfdfsd
This commit is contained in:
parent
3bc60134f2
commit
2b65faee42
2 changed files with 22 additions and 0 deletions
|
@ -120,6 +120,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
|
|||
|
||||
@app.post("/comment")
|
||||
@limiter.limit("6/minute")
|
||||
@limiter.limit("1/second")
|
||||
@is_not_banned
|
||||
@validate_formkey
|
||||
def api_comment(v):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue