@data-fair/dev-server 2.3.0 → 2.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/dev-server",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "A development server for optimal development experience of data-fair applications.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/app.js CHANGED
@@ -76,7 +76,7 @@ server.on('upgrade', function upgrade(req, socket, head) {
76
76
  });
77
77
  });
78
78
  app.use(cors());
79
- app.use(express.json());
79
+ app.use(express.json({ limit: '50mb' }));
80
80
  // URL of the app under development, used by the proxy and by the remote configuration import
81
81
  const appUrl = new URL(config.app.url);
82
82
  const appPrefix = appUrl.pathname.endsWith('/') ? appUrl.pathname.substring(0, appUrl.pathname.length - 1) : appUrl.pathname;