@ccci/micro-server 1.0.182 → 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.
- package/dist/index.js +1 -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
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();
|