@ccci/micro-server 0.0.13 → 0.0.15
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 -3
- 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(
|
|
78217
|
+
const db = new DatabaseConnector(path2);
|
|
78220
78218
|
await db.initializeModels();
|
|
78221
78219
|
await db.connect();
|
|
78222
78220
|
new RouterFactory(app, path2, "routes");
|