mythix 2.8.13 → 2.8.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -447,7 +447,10 @@ class HTTPServer {
|
|
|
447
447
|
// eslint-disable-next-line new-cap
|
|
448
448
|
let app = Express();
|
|
449
449
|
|
|
450
|
-
app.use(Express.raw({
|
|
450
|
+
app.use(Express.raw({
|
|
451
|
+
type: 'application/json',
|
|
452
|
+
limit: Nife.get(options, 'uploads.limits.fileSize', DEFAULT_FILE_UPLOAD_SIZE_LIMIT),
|
|
453
|
+
}));
|
|
451
454
|
|
|
452
455
|
// Store _rawBody for request
|
|
453
456
|
app.use((request, response, next) => {
|