mirror of
https://github.com/Cameri/nostream.git
synced 2025-07-12 23:02:18 +02:00
fix: rate limiter err
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
This commit is contained in:
@ -17,7 +17,7 @@ export const rateLimiterMiddleware = async (request: Request, response: Response
|
||||
if (await isRateLimited(clientAddress, currentSettings)) {
|
||||
response.destroy()
|
||||
|
||||
return next(new Error('Rate-limited'))
|
||||
return
|
||||
}
|
||||
|
||||
next()
|
||||
|
Reference in New Issue
Block a user