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:
mixelburg
2026-02-23 17:04:48 +02:00
committed by GitHub
parent 49f2633c9b
commit 1de276006c
4 changed files with 38 additions and 15 deletions
+2 -5
View File
@@ -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.