feat(api): add rate limiting for API requests
This commit is contained in:
@@ -93,6 +93,7 @@ class Settings(BaseSettings):
|
||||
cors_urls: list[HttpUrl] = []
|
||||
server_url: HttpUrl = HttpUrl("http://localhost:8000")
|
||||
frontend_url: HttpUrl | None = None
|
||||
enable_rate_limit: bool = True
|
||||
|
||||
@property
|
||||
def web_url(self):
|
||||
|
||||
Reference in New Issue
Block a user