mirror of
https://github.com/Rarebuffalo/securelens-backend.git
synced 2026-06-19 07:00:30 +00:00
7 lines
191 B
Python
7 lines
191 B
Python
from slowapi import Limiter
|
|
from slowapi.util import get_remote_address
|
|
|
|
from app.config import settings
|
|
|
|
limiter = Limiter(key_func=get_remote_address, default_limits=[settings.rate_limit])
|