mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-31 09:01:13 +00:00
fix: show actual bind address in startup logs (#6999)
Co-authored-by: Maks Pikov <mixelburg@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ const expressStaticGzip = require("express-static-gzip");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const Database = require("./database");
|
||||
const { allowDevAllOrigin } = require("./util-server");
|
||||
const { allowDevAllOrigin, printServerUrls } = require("./util-server");
|
||||
const mysql = require("mysql2/promise");
|
||||
|
||||
/**
|
||||
@@ -307,9 +307,8 @@ class SetupDatabase {
|
||||
});
|
||||
|
||||
tempServer = app.listen(port, hostname, () => {
|
||||
log.info("setup-database", `Starting Setup Database on ${port}`);
|
||||
let domain = hostname ? hostname : "localhost";
|
||||
log.info("setup-database", `Open http://${domain}:${port} in your browser`);
|
||||
log.info("setup-database", "Starting Setup Database");
|
||||
printServerUrls("setup-database", port, hostname);
|
||||
log.info("setup-database", "Waiting for user action...");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user