Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: bump up blob size limit temporarily (#4747)

DarkSky1775138228a7
diff --git a/packages/backend/server/src/index.ts b/packages/backend/server/src/index.ts
index 4b83dbd446..d4be178348 100644
--- a/packages/backend/server/src/index.ts
+++ b/packages/backend/server/src/index.ts
@@ -70,7 +70,8 @@ app.use(serverTimingAndCache);
app.use(
graphqlUploadExpress({
- maxFileSize: 10 * 1024 * 1024,
+ // TODO: dynamic limit by quota
+ maxFileSize: 100 * 1024 * 1024,
maxFiles: 5,
})
);