@wu529778790/open-im 1.7.1-beta.4 → 1.7.1-beta.5
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/cli.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -120,11 +120,11 @@ async function cmdDev() {
|
|
|
120
120
|
}
|
|
121
121
|
async function cmdDashboard() {
|
|
122
122
|
// Start web config server in persistent mode (no timeout)
|
|
123
|
-
const { startWebConfigServer
|
|
123
|
+
const { startWebConfigServer } = await import("./config-web.js");
|
|
124
124
|
const server = await startWebConfigServer({ mode: "dev", cwd: process.cwd(), persistent: true });
|
|
125
|
-
|
|
125
|
+
const url = server.loginUrl ?? server.url;
|
|
126
|
+
console.log(`\nDashboard: ${url}`);
|
|
126
127
|
console.log("Press Ctrl+C to close.\n");
|
|
127
|
-
openWebConfigUrl();
|
|
128
128
|
await server.waitForResult;
|
|
129
129
|
}
|
|
130
130
|
function showHelp(exitCode = 0) {
|