This paremeter is boolean not string
This commit is contained in:
parent
f6c4999c63
commit
2e65d20c39
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ const server = program => {
|
||||||
saveUninitialized: true
|
saveUninitialized: true
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
app.use(bodyParser.urlencoded({ extended: 'true' }))
|
app.use(bodyParser.urlencoded({ extended: true }))
|
||||||
app.use(bodyParser.json({ limit: '500kb' }))
|
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())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue