diff --git a/src/rom/captive_http.py b/src/rom/captive_http.py index c185eb0..637edec 100644 --- a/src/rom/captive_http.py +++ b/src/rom/captive_http.py @@ -54,7 +54,7 @@ class HTTPServer(BaseServer): self.request = dict() self.conns = dict() self.routes = { - b"/": b"/rom/index.html", + b"/": b"/rom/www/iwconfig.html", b"/login": self.login, b"/scan": self.scan_networks, } diff --git a/src/rom/captive_portal.py b/src/rom/captive_portal.py index 2815321..0015222 100644 --- a/src/rom/captive_portal.py +++ b/src/rom/captive_portal.py @@ -19,7 +19,7 @@ class CaptivePortal: self.ap_if = network.WLAN(network.AP_IF) if essid is None: - essid = b"ws2-%s" % binascii.hexlify(self.ap_if.config("mac")[-3:]) + essid = b"WS2-%s" % binascii.hexlify(self.ap_if.config("mac")[-3:]) self.essid = essid self.dns_server = None diff --git a/src/rom/index.html b/src/rom/www/iwconfig.html similarity index 100% rename from src/rom/index.html rename to src/rom/www/iwconfig.html