@nakedcreativity/cee-ms-node 0.3.27 → 0.3.29

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.
Files changed (2) hide show
  1. package/index.js +7 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -18,8 +18,13 @@ function ceems(config) {
18
18
  // process config and set defaults
19
19
  // // set up static file hosting
20
20
  this.app.use(express.static(config.assets))
21
- this.app.use(bodyParser.json());
22
- this.app.use(bodyParser.urlencoded({extended:false}));
21
+ this.app.use(bodyParser.json({
22
+ limit: config.parseLimit || '250kb'
23
+ }));
24
+ this.app.use(bodyParser.urlencoded({
25
+ extended:false,
26
+ limit: config.parseLimit || '250kb'
27
+ }));
23
28
 
24
29
  this.engine = Liquid({
25
30
  root: path.resolve('./views/'), // for layouts and partials
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakedcreativity/cee-ms-node",
3
- "version": "0.3.27",
3
+ "version": "0.3.29",
4
4
  "description": "Cee.ms for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {