fix: update RateLimiter settings and load Discord webhook URL from environment
This commit is contained in:
@@ -54,7 +54,7 @@ class Misc(FastAPI):
|
||||
handler,
|
||||
methods=["GET"],
|
||||
include_in_schema=True,
|
||||
dependencies=[Depends(RateLimiter(times=10, seconds=2))],
|
||||
dependencies=[Depends(RateLimiter(times=25, seconds=2))],
|
||||
)
|
||||
|
||||
app.add_api_route(
|
||||
|
||||
Reference in New Issue
Block a user