Skip to content

Commit 38dba06

Browse files
committed
Increase the bodyParser memory limit
1 parent 0aaa6a9 commit 38dba06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module.exports = {
8080
},
8181

8282
_fastbootRenderingMiddleware(app) {
83-
app.post('/__nock-proxy', bodyParser.json(), (req, res) => {
83+
app.post('/__nock-proxy', bodyParser.json({ limit: '50mb' }), (req, res) => {
8484
nockInterface.dispatchEvent(req.body).then(() => {
8585
let body = JSON.stringify(
8686
nockInterface.lastMessage,

0 commit comments

Comments
 (0)