From 07d755198c22694e40df2629f9a055971839310c Mon Sep 17 00:00:00 2001 From: Dustin Rouillard Date: Tue, 21 May 2024 01:43:38 -0600 Subject: [PATCH] Up max file size on multipart (Phasing version out soon) --- src/server.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/server.ts b/src/server.ts index adae6bb..dce86c6 100644 --- a/src/server.ts +++ b/src/server.ts @@ -7,7 +7,11 @@ import { routes } from './routes.js'; const server = fastify(); -server.register(fastifyMultipart); +server.register(fastifyMultipart, { + limits: { + fileSize: 10 * 1024 * 1024 + } +}); server.register(routes, { prefix: '/v1' }); server.get('/health', (req, reply) => {