modified web server to bind to 0.0.0.0 to allow external access

This commit is contained in:
B.J. Dweck 2020-10-22 19:18:35 +02:00
parent c1a5bb2db0
commit 1eee40a30e

View File

@ -115,7 +115,7 @@ def main():
json.dump({}, database_blank)
threading.Thread(target=torch_sub_webserver.app.run,
args=("localhost", config.web_port),
args=("0.0.0.0", config.web_port),
daemon=True).start()
subscribe(config.broker_hostname,