mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 01:29:31 +08:00
fix(server): body parser limit (#10260)
This commit is contained in:
@@ -24,9 +24,7 @@ export async function createApp() {
|
||||
bufferLogs: true,
|
||||
});
|
||||
|
||||
if (AFFiNE.flavor.doc) {
|
||||
app.useBodyParser('raw');
|
||||
}
|
||||
app.useBodyParser('raw', { limit: '100mb' });
|
||||
|
||||
app.useLogger(app.get(AFFiNELogger));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user