Skip to content

Commit fa686f2

Browse files
authored
Merge pull request #79 from KalachevDev/bugfix/body-parser-size-limit
[Bugfix] Bodyparser limit increased to 50mb
2 parents 7127a50 + dd224da commit fa686f2

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)