From edc6869fafce93be75aa89891defdcf9acb0ed90 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sat, 4 Jul 2026 17:40:04 +0200 Subject: [PATCH] ui(settings): group Target Domain + HTTPS URL under a "Service URLs" header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up polish to the HTTPS-URL settings work: - Group Target Domain and the derived HTTPS URL under a single bold "Service URLs" section header, matching the existing section-header pattern (Landing page, TLS extra hosts, Device Discovery) rather than a one-off fieldset box — consistent across the whole Settings tab. - Tighten the spacing so the HTTPS URL sits with Target Domain (drop the empty :443-status reserved line, reduce the intra-group gap) instead of floating toward the next section. - Make "Landing page" a bold header for the same consistency. - Expand the HTTPS URL override hint: HTTPS is only needed for certain features (DNS redirect, Spotify/Amazon login, cert trust); it derives from the Target Domain; and if you don't need plain HTTP you can set the Target Domain itself to an https:// URL, no override required. refs #355 Co-Authored-By: Claude Opus 4.8 (1M context) --- pkg/service/handlers/web/index.html | 83 ++++++++++++++++------------- 1 file changed, 46 insertions(+), 37 deletions(-) diff --git a/pkg/service/handlers/web/index.html b/pkg/service/handlers/web/index.html index 8d84e4c..b86a696 100644 --- a/pkg/service/handlers/web/index.html +++ b/pkg/service/handlers/web/index.html @@ -169,47 +169,56 @@

System Settings

-

- Note: These URLs must be - accessible from your SoundTouch devices. - Use the IP address of this server on your local network - (e.g., http://192.0.2.100:8000) rather than - localhost. -

- - - (Standard services URL) -
-
-
-
- - - - -
-

- AfterTouch also serves an HTTPS endpoint (used for the - DNS-based redirect, music-service login, and certificate - trust). By default it follows the Target Domain above - (same host, on the HTTPS port), so you normally don't set - anything here. Provide an override only when a reverse - proxy serves HTTPS on a different host or port. Leave it - empty to go back to deriving it automatically. Takes effect - after saving. -

- - + Service URLs +

+ Note: These URLs must be + accessible from your SoundTouch devices. + Use the IP address of this server on your local network + (e.g., http://192.0.2.100:8000) rather than + localhost. +

+
+ + + (Standard services URL) +
+
+
+
+ + + + +
+

+ AfterTouch's HTTPS endpoint is only needed for certain + features — the DNS-based redirect, music-service + (Spotify/Amazon) login, and certificate trust. When you + use them, its URL is derived from the Target Domain above + by default (same host, on the HTTPS port), so you + normally don't set anything here. If you don't need plain + HTTP at all, you can set the Target Domain itself to an + https:// URL and it's used as the HTTPS + endpoint as-is. Otherwise, set an override only when a + reverse proxy serves HTTPS on a different host or port. + Leave it empty to derive automatically. Takes effect + after saving. +

+ + +
- - + Landing page (/): +
+ +
What a browser sees at the root URL. The Player and Admin pages stay reachable at /app and /admin either way.