Skip to content

Commit 6fb42de

Browse files
authored
fix: increase json parse limit
1 parent 071762f commit 6fb42de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ logger.debug('BASE_URL', BASE_URL);
4848

4949
app.set('trust proxy', 1)
5050

51-
app.use(express.json());
51+
app.use(express.json({limit: "10mb"}));
5252
app.use(cookieParser());
5353

5454
logger.info('enabling cors on all requests');

0 commit comments

Comments
 (0)