mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-30 06:34:36 +02:00

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alexandre Teles (afterSt0rm) <alexandre.teles@ufba.br>
8 lines
158 B
Python
8 lines
158 B
Python
from sanic_limiter import Limiter, get_remote_address
|
|
|
|
limiter = Limiter(key_func=get_remote_address)
|
|
|
|
|
|
def configure_limiter(app):
|
|
limiter.init_app(app)
|