From 2866f4e5af4e88de19bd71f5421cfa7ebf8d24ef Mon Sep 17 00:00:00 2001 From: meixg Date: Wed, 8 Mar 2023 16:44:12 +0800 Subject: [PATCH] feat(autoload): support fastify 4.x --- packages/app-autoload/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-autoload/src/index.ts b/packages/app-autoload/src/index.ts index 809fdd2..f789bd2 100644 --- a/packages/app-autoload/src/index.ts +++ b/packages/app-autoload/src/index.ts @@ -242,6 +242,6 @@ export default fp(async function (instance: FastifyInstance, opts: AppAutoload | return; }, { - fastify: '3.x', + fastify: '>= 3.0.0 < 5.0.0', name: '@hoth/app-autoload', });