@ccci/micro-server 1.0.47 → 1.0.48
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -87569,7 +87569,7 @@ class DatabaseConnector {
|
|
|
87569
87569
|
Logger.info("Connecting to:", config);
|
|
87570
87570
|
DatabaseConnector.connection = connection;
|
|
87571
87571
|
connections.push(connection);
|
|
87572
|
-
Logger.info("Connecting to database: SUCCESS
|
|
87572
|
+
Logger.info("Connecting to database: SUCCESS!\n");
|
|
87573
87573
|
resolve(connections);
|
|
87574
87574
|
});
|
|
87575
87575
|
} catch (error) {
|
|
@@ -87754,7 +87754,7 @@ class ApplicationServer {
|
|
|
87754
87754
|
ApplicationServer.app.get("/", (req, resp) => {
|
|
87755
87755
|
return resp.sendFile(path3.resolve("index.html"));
|
|
87756
87756
|
});
|
|
87757
|
-
RouterFactory.init(ApplicationServer.app, process.cwd(), "routes");
|
|
87757
|
+
await RouterFactory.init(ApplicationServer.app, process.cwd(), "routes");
|
|
87758
87758
|
const server = ApplicationServer.app.listen(port, () => {
|
|
87759
87759
|
Logger.info(`API Sever ready at: http://127.0.0.1:${port}\n`);
|
|
87760
87760
|
if (options?.enableWebSocket) {
|