hof 20.5.1-beta-payload-too-large → 20.5.1-payload-too-large
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/settings.js +2 -1
- package/package.json +1 -1
package/lib/settings.js
CHANGED
@@ -56,10 +56,11 @@ module.exports = async (app, config) => {
|
|
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;
|