Basic rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.
By default, the bootstrap includes/enables a rate limiter with the following config:
{
"rateLimit": {
"enabled": true,
"windowMs": 1000,
"max": 100,
"headers": false
}
}
Warning: Due to a Next.JS dev server issue the rate limit will be automatically disabled when server runs in dev mode
Additional Rate Limit Documentation: https://www.npmjs.com/package/express-rate-limit
Last modified | Friday, April 30, 2021, 12:00:21 PM UTC |
Last author | Colin van Eenige |
Commit ID | 4c7a701 |