Skip to content

Commit dd224da

Browse files
author
Vladimir Kalachev
committed
[Bugfix] Bodyparser limit increased to 50mb
1 parent e2ab8f2 commit dd224da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = {
4242

4343
_fastbootRenderingMiddleware(app) {
4444

45-
app.post('/__mock-request', bodyParser.json(), (req, res) => {
45+
app.post('/__mock-request', bodyParser.json({ limit: '50mb' }), (req, res) => {
4646
let mock = nock(req.headers.origin)
4747
.persist()
4848
.intercept(req.body.path, req.body.method)

0 commit comments

Comments
 (0)