update bodyLimit

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-07-23 22:24:13 +02:00
parent 89c5732efe
commit c7e6f1d470

View File

@@ -50,6 +50,7 @@ const startServer = async () => {
try {
const fastify = Fastify({
maxParamLength: 15_000,
bodyLimit: 1048576 * 500, // 500MB
});
await fastify.register(metricsPlugin, { endpoint: '/metrics' });