Tweak webserver_settings.py and wifi_service.py

This commit is contained in:
Thomas Farstrike
2026-03-24 12:52:22 +01:00
parent 66ef3c36c0
commit c25e46c18b
2 changed files with 3 additions and 3 deletions
@@ -66,9 +66,9 @@ class WebServerSettings(Activity):
port = status.get("port")
ip_address = WifiService.get_ipv4_address()
if ip_address:
url_text = f"http://{ip_address}:{port}"
url_text = f"http://{ip_address}:{port}/"
else:
url_text = f"http://<wifi ip>:{port}"
url_text = f"http://<wifi ip>:{port}/"
self.detail_label.set_text(f"URL: {url_text}\nAutostart: {autostart_text}")
button_text = "Stop" if status.get("started") else "Start"
@@ -509,7 +509,7 @@ class WifiService:
network_module=network_module,
ap_index=0,
sta_key="addr4",
desktop_value="123.456.789.000",
desktop_value="127.0.0.1",
label="address",
)