Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Don't attach fields to body

Edward Cui40fe7a6aef6f
diff --git a/server/src/index.ts b/server/src/index.ts
index 3ce36b8ea..945e0c806 100644
--- a/server/src/index.ts
+++ b/server/src/index.ts
@@ -153,7 +153,6 @@ server.register(cors, {
});
server.register(multipart, {
- attachFieldsToBody: true,
limits: {
fileSize: IS_CLOUD ? 100 * 1024 * 1024 : undefined, // 100 MB max file size, infinite for self-hosted
files: 1, // only allow 1 file