mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-29 04:01:01 +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:
+2
-5
@@ -110,6 +110,7 @@ const {
|
||||
shake256,
|
||||
SHAKE256_LENGTH,
|
||||
allowDevAllOrigin,
|
||||
printServerUrls,
|
||||
} = require("./util-server");
|
||||
|
||||
log.debug("server", "Importing Notification");
|
||||
@@ -1741,11 +1742,7 @@ let needSetup = false;
|
||||
await server.start();
|
||||
|
||||
server.httpServer.listen(port, hostname, async () => {
|
||||
if (hostname) {
|
||||
log.info("server", `Listening on ${hostname}:${port}`);
|
||||
} else {
|
||||
log.info("server", `Listening on ${port}`);
|
||||
}
|
||||
printServerUrls("server", port, hostname);
|
||||
await startMonitors();
|
||||
|
||||
// Put this here. Start background jobs after the db and server is ready to prevent clear up during db migration.
|
||||
|
||||
Reference in New Issue
Block a user