forked from rDrama/rDrama
fdfdfd
parent
b0ff4f7197
commit
4370b4f124
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue