import { FastifyPluginAsync } from 'fastify'; import upload from './upload.js'; export default (async function (fastify) { await fastify.register(upload); } as FastifyPluginAsync);