@ccci/micro-server 0.0.13 → 0.0.14

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 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -78207,8 +78207,6 @@ class RouterFactory {
78207
78207
  }
78208
78208
 
78209
78209
  // src/utils/ApplicationServer.ts
78210
- var __dirname = "/Users/ariel/work/bun-server/src/utils";
78211
-
78212
78210
  class ApplicationServer {
78213
78211
  static async bootstrap(path2, port) {
78214
78212
  const app = import_express.default();
@@ -78216,7 +78214,7 @@ class ApplicationServer {
78216
78214
  app.use(helmet());
78217
78215
  app.use(import_express.default.json());
78218
78216
  app.use(import_express_fileupload.default());
78219
- const db = new DatabaseConnector(__dirname);
78217
+ const db = new DatabaseConnector(path2);
78220
78218
  await db.initializeModels();
78221
78219
  await db.connect();
78222
78220
  new RouterFactory(app, path2, "routes");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",