From addf5366a33561bf2b736e3c096b2e70fe6ac1bc Mon Sep 17 00:00:00 2001 From: Kyle Espinola Date: Thu, 5 Oct 2023 20:31:21 +0200 Subject: [PATCH] fix: adjust max file size --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index b033bad..f838855 100644 --- a/server.js +++ b/server.js @@ -46,6 +46,7 @@ await fastify.register(fastifyMultiPart, { limits: { fields: 0, // Max number of non-file fields files: 1, // Max number of file fields + fileSize: 1024 * 1024 * 1000, // Max file size in bytes }, });