Skip to content

supporting multiple methods routes

Compare
Choose a tag to compare
@PavelPolyakov PavelPolyakov released this 26 Jun 13:36
· 33 commits to master since this release
  • Supporting the routes like:
fastify.route({
  method: ["GET", "HEAD"],
  url: "/hello/complex-route",
  handler: async (req, reply) => ({
    greeting: "Hello from the complex route"
  })
});
  • updating the dependencies