@ccci/micro-server 1.0.27 → 1.0.28
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 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -87530,7 +87530,9 @@ class DatabaseConnector {
|
|
|
87530
87530
|
let connections = [];
|
|
87531
87531
|
const configPath = `${DatabaseConnector.rootDir}/config/db.config.ts`;
|
|
87532
87532
|
import(configPath).then((configs) => {
|
|
87533
|
+
console.log("configs :>> ", configs);
|
|
87533
87534
|
const config = configs[env];
|
|
87535
|
+
console.log("config :>> ", config);
|
|
87534
87536
|
const connection = new Sequelize(config);
|
|
87535
87537
|
DatabaseConnector.connection = connection;
|
|
87536
87538
|
connections.push(connection);
|