From 6e40c446f426d4b8226ed8203c0144a7312925bd Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Tue, 14 Jan 2025 22:58:14 +0100 Subject: [PATCH] fix wrong port in log message when starting server only (#3697) fixes #3696 --- CHANGELOG.md | 1 + serveronly/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 782ecb47..08f5ba32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ planned for 2025-04-01 - [tests] Electron tests: Fixes for running under new github image ubuntu-24.04, replace xserver with labwc, running under xserver and labwc depending on env variable WAYLAND_DISPLAY is set (#3676) - [calendar] Fix arrayed symbols, #3267, again, add testcase, add testcase for #3678 - [weather] Fix wrong weatherCondition name in openmeteo provider which lead to n/a icon +- [core] Fix wrong port in log message when starting server only (#3696) ## [2.30.0] - 2025-01-01 diff --git a/serveronly/index.js b/serveronly/index.js index 66632ac1..6156a0a0 100644 --- a/serveronly/index.js +++ b/serveronly/index.js @@ -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} <<<`); });