@dnax/core 0.68.7 ā 0.68.8
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/app/index.ts +7 -8
- package/package.json +1 -1
package/app/index.ts
CHANGED
|
@@ -81,32 +81,31 @@ async function runApp(config?: configRunApp, clb?: Function): Promise<Server> {
|
|
|
81
81
|
|
|
82
82
|
spinner.stop();
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
spinner.clear();
|
|
85
85
|
|
|
86
|
-
await sleep(
|
|
86
|
+
await sleep(250);
|
|
87
87
|
|
|
88
88
|
console.log("\n");
|
|
89
89
|
console.log(
|
|
90
90
|
"\n---------------------------------------".gray +
|
|
91
91
|
"\n⨠Your server is up and running\n".green.bold +
|
|
92
92
|
"---------------------------------------\n".gray +
|
|
93
|
-
`š
|
|
93
|
+
`š Pid : ${serverName} - ${process.pid}`.gray.bold +
|
|
94
94
|
`\n` +
|
|
95
95
|
`š¢ Version : ${pkg.version}`.gray.bold +
|
|
96
|
-
`\n` +
|
|
97
|
-
`āļø
|
|
96
|
+
`\n\n` +
|
|
97
|
+
`āļø Environment : ${
|
|
98
98
|
process.env.NODE_ENV || envName || "development"
|
|
99
99
|
}\n`.gray +
|
|
100
100
|
`š Started at : ${new Date().toLocaleString()}\n`.gray +
|
|
101
101
|
`\n` +
|
|
102
|
-
|
|
102
|
+
`š Url : http://localhost:${PORT}\n\n`.gray +
|
|
103
103
|
`Tenants :`.gray.underline.bold +
|
|
104
104
|
`\n` +
|
|
105
105
|
Cfg.tenants?.map((t: any) => {
|
|
106
106
|
return `\n${t?.name?.blue || "_"} : ${t?.id?.green}`.bold;
|
|
107
107
|
}) +
|
|
108
|
-
`\n`
|
|
109
|
-
"---------------------------------------\n".gray
|
|
108
|
+
`\n`
|
|
110
109
|
);
|
|
111
110
|
|
|
112
111
|
if (clb) clb();
|