hof 20.5.4 → 20.5.6-payload-too-large
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/settings.js +3 -2
- package/package.json +1 -1
- package/sandbox/yarn.lock +8 -8
package/lib/settings.js
CHANGED
@@ -54,12 +54,13 @@ module.exports = async (app, config) => {
|
|
54
54
|
app.use(expressPartialTemplates(app));
|
55
55
|
|
56
56
|
app.engine(viewEngine, hoganExpressStrict);
|
57
|
-
|
57
|
+
|
58
58
|
app.use(bodyParser.urlencoded({
|
59
|
+
limit: '50mb',
|
59
60
|
extended: true
|
60
61
|
}));
|
61
62
|
|
62
|
-
app.use(bodyParser.json());
|
63
|
+
app.use(bodyParser.json({limit: '50mb'}));
|
63
64
|
|
64
65
|
app.use((req, res, next) => {
|
65
66
|
res.locals.baseUrl = req.baseUrl;
|
package/package.json
CHANGED
package/sandbox/yarn.lock
CHANGED
@@ -34,11 +34,11 @@ brace-expansion@^1.1.7:
|
|
34
34
|
concat-map "0.0.1"
|
35
35
|
|
36
36
|
braces@~3.0.2:
|
37
|
-
version "3.0.
|
38
|
-
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.
|
39
|
-
integrity sha512-
|
37
|
+
version "3.0.3"
|
38
|
+
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
|
39
|
+
integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
|
40
40
|
dependencies:
|
41
|
-
fill-range "^7.
|
41
|
+
fill-range "^7.1.1"
|
42
42
|
|
43
43
|
"chokidar@>=3.0.0 <4.0.0", chokidar@^3.5.2:
|
44
44
|
version "3.5.3"
|
@@ -67,10 +67,10 @@ debug@^3.2.7:
|
|
67
67
|
dependencies:
|
68
68
|
ms "^2.1.1"
|
69
69
|
|
70
|
-
fill-range@^7.
|
71
|
-
version "7.
|
72
|
-
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.
|
73
|
-
integrity sha512-
|
70
|
+
fill-range@^7.1.1:
|
71
|
+
version "7.1.1"
|
72
|
+
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
|
73
|
+
integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
|
74
74
|
dependencies:
|
75
75
|
to-regex-range "^5.0.1"
|
76
76
|
|