Skip to content

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

Misc

Edward Cuiaea1e7465474
diff --git a/server/src/index.ts b/server/src/index.ts
index 3d5f30f58..4e854278c 100644
--- a/server/src/index.ts
+++ b/server/src/index.ts
@@ -104,6 +104,8 @@ server.register(cors, {
credentials: true,
});
+// TODO: Remove fileSize limit for self-hosted?
+// Would be bad if users accidentally crashed server with file that's too large though
server.register(multipart, {
limits: {
fileSize: 100 * 1024 * 1024, // 100 MB max file size