@ccci/micro-server 1.0.70 → 1.0.71

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 +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -119176,6 +119176,7 @@ class ApplicationServer {
119176
119176
  ApplicationServer.app.use(import_express_fileupload.default());
119177
119177
  const db = new DatabaseConnector(process.cwd());
119178
119178
  const conn = await DatabaseConnector.init();
119179
+ await db.connect(conn[0]);
119179
119180
  await db.initializeModels();
119180
119181
  ApplicationServer.app.get("/", (req, resp) => {
119181
119182
  return resp.sendFile(path4.resolve("index.html"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",