Merge pull request #442 from shocknet/request-data-limit
Up json request data limit to 500kb (images)
This commit is contained in:
commit
1f9c0d1ee3
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ const server = program => {
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
app.use(bodyParser.urlencoded({ extended: 'true' }))
|
app.use(bodyParser.urlencoded({ extended: 'true' }))
|
||||||
app.use(bodyParser.json())
|
app.use(bodyParser.json({ limit: '500kb' }))
|
||||||
app.use(bodyParser.json({ type: 'application/vnd.api+json' }))
|
app.use(bodyParser.json({ type: 'application/vnd.api+json' }))
|
||||||
app.use(methodOverride())
|
app.use(methodOverride())
|
||||||
// WARNING
|
// WARNING
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue