change default port for lacrossegw

This commit is contained in:
S. Seegel 2021-02-22 22:32:07 +01:00
parent 759b31c9b9
commit 4a0c157fb4
2 changed files with 8 additions and 9 deletions

View file

@ -91,5 +91,5 @@
},
"webport": 8081,
"apiport": 1900
"apiport": 1901
}

View file

@ -23,7 +23,6 @@ except ImportError:
from http.server import SimpleHTTPRequestHandler as Handler
from urllib.parse import urlparse, parse_qs
lock = threading.Lock()
script_dir = os.path.dirname(__file__)
@ -242,7 +241,7 @@ server_thread = threading.Thread(target=server.serve_forever)
server_thread.daemon = True
server_thread.start()
p = config["apiport"] if "apiport" in config else 1990
p = config["apiport"] if "apiport" in config else 1991
apisrv = apiserver.ApiServer(p)
print("Waiting for sensors...")