Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

update bodyLimit

Carl-Gerhard Lindesvärdc7e6f1d47001
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index 1fb869d41..93c9e212b 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' });