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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mythix",
3
- "version": "2.8.13",
3
+ "version": "2.8.14",
4
4
  "description": "Mythix is a NodeJS web-app framework",
5
5
  "main": "src/index",
6
6
  "scripts": {
@@ -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({ type: 'application/json' }));
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) => {