lint: format and stabilize gateway health

This commit is contained in:
Peter Steinberger
2025-12-10 18:00:33 +00:00
parent 27ad3b917f
commit 47a1f757a9
11 changed files with 43 additions and 36 deletions

View File

@@ -160,9 +160,7 @@ export async function __broadcastGatewayEventForTests() {
// no-op
}
export async function ensureWebChatServerFromConfig(
overridePort?: number,
) {
export async function ensureWebChatServerFromConfig(overridePort?: number) {
const cfg = loadConfig();
if (cfg.webchat?.enabled === false) return null;
const port = overridePort ?? cfg.webchat?.port ?? WEBCHAT_DEFAULT_PORT;