From 6d12cf94af0771438b30d47b8b93b7762f7fb926 Mon Sep 17 00:00:00 2001 From: Donavan Becker Date: Sun, 21 Jan 2024 18:27:40 -0600 Subject: [PATCH] ui --- config.schema.json | 1 - src/homebridge-ui/public/index.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config.schema.json b/config.schema.json index ec15cbfd..f196a5c8 100644 --- a/config.schema.json +++ b/config.schema.json @@ -17,7 +17,6 @@ "port": { "type": "string", "title": "Login UI Port", - "placeholder": "8585", "default": "8585", "description": "Port for the Homebridge Resideo UI. Default is 8585.", "x-schema-form": { diff --git a/src/homebridge-ui/public/index.html b/src/homebridge-ui/public/index.html index c831cb02..088df4c7 100644 --- a/src/homebridge-ui/public/index.html +++ b/src/homebridge-ui/public/index.html @@ -176,7 +176,7 @@
Disclaimer
try { const currentConfig = await homebridge.getPluginConfig() const hostname = window.location.hostname - const port = currentConfig[0].port + const port = currentConfig[0].port || '8585' try { await homebridge.request('Start Resideo Login Server') } catch (err) {