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.
Files changed (2) hide show
  1. package/lib/settings.js +2 -1
  2. 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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "20.5.1-beta-payload-too-large",
4
+ "version": "20.5.1-payload-too-large",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",