diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ app.use(morgan('combined', { | |||
77 | })) | 77 | })) |
78 | // For body requests | 78 | // For body requests |
79 | app.use(bodyParser.json({ | 79 | app.use(bodyParser.json({ |
80 | type: 'application/*+json', | 80 | type: [ 'application/json', 'application/*+json' ], |
81 | limit: '500kb' | 81 | limit: '500kb' |
82 | })) | 82 | })) |
83 | app.use(bodyParser.urlencoded({ extended: false })) | 83 | app.use(bodyParser.urlencoded({ extended: false })) |