mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-25 20:21:03 +00:00
chore: organize files
This commit is contained in:
committed by
Alexandre Teles (afterSt0rm)
parent
10f5225f51
commit
73252524f1
7
api/limiter.py
Normal file
7
api/limiter.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from sanic_limiter import Limiter, get_remote_address
|
||||
|
||||
limiter = Limiter(key_func=get_remote_address)
|
||||
|
||||
|
||||
def configure_limiter(app):
|
||||
limiter.init_app(app)
|
||||
Reference in New Issue
Block a user