@ccci/micro-server 1.0.181 → 1.0.183

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -301054,10 +301054,9 @@ class ApplicationServer {
301054
301054
  ApplicationServer.app = import_express.default();
301055
301055
  ApplicationServer.app.use(import_cors.default());
301056
301056
  ApplicationServer.app.use(helmet());
301057
- ApplicationServer.app.use(import_express.default.json());
301058
- ApplicationServer.app.use(import_express_fileupload.default());
301059
301057
  ApplicationServer.app.use(import_express.default.json({ limit: "500mb" }));
301060
- ApplicationServer.app.use(import_express.default.urlencoded({ limit: "500mb", extended: true }));
301058
+ ApplicationServer.app.use(import_express.default.urlencoded({ limit: "500mb", extended: true, parameterLimit: 5000000 }));
301059
+ ApplicationServer.app.use(import_express_fileupload.default());
301061
301060
  const db = new DatabaseConnector(process.cwd());
301062
301061
  const conn = await DatabaseConnector.init();
301063
301062
  await db.initializeModels();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.181",
3
+ "version": "1.0.183",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",