@ccci/micro-server 1.0.32 → 1.0.34
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 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -87560,9 +87560,10 @@ class DatabaseConnector {
|
|
|
87560
87560
|
DatabaseConnector.connections = [];
|
|
87561
87561
|
let connections = [];
|
|
87562
87562
|
const configPath = `${DatabaseConnector.rootDir}/config/db.config.ts`;
|
|
87563
|
-
Logger.info("configPath: ", configPath);
|
|
87564
87563
|
import(configPath).then((configs) => {
|
|
87565
87564
|
Logger.info("configs :>> ", configs);
|
|
87565
|
+
Logger.info("configs.default() :>> ", configs.default());
|
|
87566
|
+
Logger.info("configs.default() :>> ", configs.default()["development"]);
|
|
87566
87567
|
const config = configs.default()[env];
|
|
87567
87568
|
Logger.info("config :>> ", config);
|
|
87568
87569
|
const connection = new Sequelize(config);
|