mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 14:14:29 +02:00
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)
|