diff --git a/index.js b/index.js index ed2f6bf..880af2f 100644 --- a/index.js +++ b/index.js @@ -518,3 +518,5 @@ module.exports = fp(fastifyStatic, { fastify: '4.x', name: '@fastify/static' }) +module.exports.default = fastifyStatic +module.exports.fastifyStatic = fastifyStatic