fix(server): body parser limit (#10260)

This commit is contained in:
liuyi
2025-02-18 18:48:29 +08:00
committed by GitHub
parent c21f71f58c
commit 4c7eedb920
2 changed files with 4 additions and 6 deletions
@@ -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]);