rm copypasta comment
This commit is contained in:
@@ -29,7 +29,7 @@ class RIP(FastAPI):
|
|||||||
for endpoint, handler in self.endpoints.items():
|
for endpoint, handler in self.endpoints.items():
|
||||||
dependencies = [
|
dependencies = [
|
||||||
Depends(RateLimiter(times=8, seconds=2))
|
Depends(RateLimiter(times=8, seconds=2))
|
||||||
] # Do not rate limit image retrievals (cached)
|
]
|
||||||
app.add_api_route(
|
app.add_api_route(
|
||||||
f"/{endpoint}",
|
f"/{endpoint}",
|
||||||
handler,
|
handler,
|
||||||
|
Reference in New Issue
Block a user