forked from rDrama/rDrama
1
0
Fork 0

shorten url

master
Aevann 2023-08-03 09:31:15 +03:00
parent 80439008fe
commit 3358d833a9
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def _special_leaderboard_get():
result = g.db.execute(_special_leaderboard_query).all()
return result
@app.get('/womenworldcup2023_leaderboard')
@app.get('/womenworldcup2023')
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID)
@auth_required