fdfdfd
This commit is contained in:
parent
e7adde25c2
commit
bcb877aaf8
2 changed files with 2 additions and 2 deletions
|
@ -1028,7 +1028,7 @@ def admin_nunuke_user(v):
|
||||||
|
|
||||||
return redirect(user.url)
|
return redirect(user.url)
|
||||||
|
|
||||||
@app.route("/user_stat_data", methods=['GET'])
|
@app.get("/user_stat_data")
|
||||||
@admin_level_required(2)
|
@admin_level_required(2)
|
||||||
@cache.memoize(timeout=60)
|
@cache.memoize(timeout=60)
|
||||||
def user_stat_data(v):
|
def user_stat_data(v):
|
||||||
|
|
|
@ -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)
|
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")
|
@limiter.limit("6/minute")
|
||||||
@is_not_banned
|
@is_not_banned
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue