forked from MarseyWorld/MarseyWorld
disable slow endpoing
parent
3ab09c0e20
commit
6fb5f7e552
|
@ -176,6 +176,7 @@ def user_voted_posts(v:User, username):
|
|||
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
||||
@auth_required
|
||||
def user_voted_comments(v:User, username):
|
||||
abort(403, "Temporarily disabled!")
|
||||
return user_voted(v, username, Comment, CommentVote, "userpage/voted_comments.html", True)
|
||||
|
||||
@app.get("/banned")
|
||||
|
|
Loading…
Reference in New Issue