From c7e6f1d47001d4346c3e8d0e4cc07109cf81b67c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Tue, 23 Jul 2024 22:24:13 +0200 Subject: [PATCH] update bodyLimit --- apps/api/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts index 1fb869d4..93c9e212 100644 --- a/apps/api/src/index.ts +++ b/apps/api/src/index.ts @@ -50,6 +50,7 @@ const startServer = async () => { try { const fastify = Fastify({ maxParamLength: 15_000, + bodyLimit: 1048576 * 500, // 500MB }); await fastify.register(metricsPlugin, { endpoint: '/metrics' });