forked from rDrama/rDrama
1
0
Fork 0

fix newest version of flask-limiter not working

master
Aevann 2023-01-21 05:01:17 +02:00
parent 96eacd73df
commit 57d1c870e8
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def get_CF():
return request.headers.get('CF-Connecting-IP')
limiter = Limiter(
app,
app=app,
key_func=get_CF,
default_limits=[DEFAULT_RATELIMIT],
application_limits=["10/second;200/minute;5000/hour;10000/day"],