Skip to content

Commit 06e76fd

Browse files
authored
fix: json size limit (#618)
Signed-off-by: Bob Du <[email protected]>
1 parent a2c2736 commit 06e76fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

service/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ app.use(express.static('public', {
6060
},
6161
}))
6262

63-
app.use(express.json())
63+
app.use(express.json({
64+
limit: '100mb',
65+
}))
6466

6567
app.use('/uploads', express.static('uploads'))
6668

0 commit comments

Comments
 (0)