From 77d143edb00627a20bfca3305036eaff65798774 Mon Sep 17 00:00:00 2001 From: seimon Date: Thu, 1 Aug 2019 12:01:51 +0100 Subject: [PATCH] Change name to Interface not Gateway --- src/http_server.py | 6 +++--- ui/index.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/http_server.py b/src/http_server.py index 34dd1f1..6d5ff70 100644 --- a/src/http_server.py +++ b/src/http_server.py @@ -61,7 +61,7 @@ def do_HEAD(self): def do_AUTHHEAD(self): print(f'do_AUTHHEAD {self.path}') self.send_response(401) - self.send_header("WWW-Authenticate", 'Basic realm=\"Sabre II BACnet Gateway\"') + self.send_header("WWW-Authenticate", 'Basic realm=\"Sabre II BACnet Interface\"') self.send_header('Content-type', 'text/html') self.end_headers() @@ -194,8 +194,8 @@ def main(interface, address, port, ui_path, mqtt_broker): # Custom request handler class (so we can pass in our own args) MyRequestHandlerClass = RequestHandlerClassFactory(address, interface, mqttclient) - avahi = AvahiService(f"Sabre II BACnet Gateway {keystr[:7]}", "_workstation._tcp", 9) - avahi = AvahiService(f"Sabre II BACnet Gateway {keystr[:7]}", "_https._tcp", port) + avahi = AvahiService(f"Sabre II BACnet Interface {keystr[:7]}", "_workstation._tcp", 9) + avahi = AvahiService(f"Sabre II BACnet Interface {keystr[:7]}", "_https._tcp", port) # Start an HTTP server to serve the content in the ui dir and handle the # POST request in the handler class. diff --git a/ui/index.html b/ui/index.html index 315c521..ff7670f 100644 --- a/ui/index.html +++ b/ui/index.html @@ -1,7 +1,7 @@ - Remsdaq Sabre II BACnet Gateway - IP Settings Page + Remsdaq Sabre II BACnet Interface - IP Settings Page @@ -38,7 +38,7 @@ @@ -47,7 +47,7 @@
-

Sabre II BACnet Gateway IP Address Settings

+

Sabre II BACnet Interface IP Address Settings