Closed Cluster2a closed 1 year ago
4.19.2
8.0.3
20.3.1
Linux
Ubuntu 23.04
Hey, there seems to be an issue with the type:
server.get( '/status', { config: { rateLimit: false } }, (req, reply) => { reply.send(); } );
This results in the following error:
Should work as documented in the docs:
// this route doesn't have any rate limit fastify.get('/public', { config: { rateLimit: false } }, (request, reply) => { reply.send({ hello: 'from ... public' }) })
@Uzlopak, is there going to be a new release with the fix?
@eomm @mcollina
Prerequisites
Fastify version
4.19.2
Plugin version
8.0.3
Node.js version
20.3.1
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
Ubuntu 23.04
Description
Hey, there seems to be an issue with the type:
This results in the following error:
Steps to Reproduce
Expected Behavior
Should work as documented in the docs: