remotes/1693045480750635534/spooky-22
Aevann1 2021-07-31 08:46:42 +02:00
parent b0ff4f7197
commit 4370b4f124
2 changed files with 2 additions and 2 deletions

View File

@ -1028,7 +1028,7 @@ def admin_nunuke_user(v):
return redirect(user.url)
@app.route("/user_stat_data", methods=['GET'])
@app.get("/user_stat_data")
@admin_level_required(2)
@cache.memoize(timeout=60)
def user_stat_data(v):

View File

@ -158,7 +158,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
else: return post.rendered_page(v=v, sort=sort, comment=top_comment, comment_info=comment_info)
@app.post("/comment")
@app.post("/api/comment")
@limiter.limit("6/minute")
@is_not_banned
@validate_formkey