fix wrong port in log message when starting server only (#3697)

fixes #3696
This commit is contained in:
Karsten Hassel
2025-01-14 22:58:14 +01:00
committed by GitHub
parent 2400e2045f
commit 6e40c446f4
2 changed files with 2 additions and 1 deletions

View File

@@ -4,5 +4,5 @@ const Log = require("../js/logger");
app.start().then((config) => {
const bindAddress = config.address ? config.address : "localhost";
const httpType = config.useHttps ? "https" : "http";
Log.info(`\n>>> Ready to go! Please point your browser to: ${httpType}://${bindAddress}:${config.port} <<<`);
Log.info(`\n>>> Ready to go! Please point your browser to: ${httpType}://${bindAddress}:${global.mmPort || config.port} <<<`);
});