mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 13:56:17 +00: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)
|