spice-js 2.6.24 → 2.6.25

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/build/index.js CHANGED
@@ -136,7 +136,9 @@ class Spice {
136
136
  require("koa-qs")(app, "extended");
137
137
 
138
138
  app.use(koaBody({
139
- formLimit: "1gb",
139
+ formLimit: "2gb",
140
+ jsonLimit: "1gb",
141
+ textLimit: "1gb",
140
142
  multipart: true,
141
143
  formidable: {
142
144
  uploadDir: "./storage/uploads",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spice-js",
3
- "version": "2.6.24",
3
+ "version": "2.6.25",
4
4
  "description": "spice",
5
5
  "main": "build/index.js",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -62,7 +62,9 @@ export default class Spice {
62
62
 
63
63
  app.use(
64
64
  koaBody({
65
- formLimit: "1gb",
65
+ formLimit: "2gb",
66
+ jsonLimit: "1gb",
67
+ textLimit: "1gb",
66
68
  multipart: true,
67
69
  formidable: {
68
70
  uploadDir: "./storage/uploads",