modified web server to bind to 0.0.0.0 to allow external access

master
B.J. Dweck 2020-10-22 19:18:35 +02:00
parent c1a5bb2db0
commit 1eee40a30e
1 changed files with 1 additions and 1 deletions

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,