mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 03:26:47 +08:00
fix(server): body parser limit (#10260)
This commit is contained in:
@@ -29,9 +29,9 @@ export async function createTestingApp(
|
||||
bodyParser: true,
|
||||
rawBody: true,
|
||||
});
|
||||
if (AFFiNE.flavor.doc) {
|
||||
app.useBodyParser('raw');
|
||||
}
|
||||
|
||||
app.useBodyParser('raw');
|
||||
|
||||
const logger = new AFFiNELogger();
|
||||
|
||||
logger.setLogLevels([TEST_LOG_LEVEL]);
|
||||
|
||||
Reference in New Issue
Block a user