mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 21:31:48 +01:00
fix: rate limiter err
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
This commit is contained in:
parent
a505659d67
commit
7778cd169b
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user