modified web server to bind to 0.0.0.0 to allow external access
This commit is contained in:
@@ -115,7 +115,7 @@ def main():
|
|||||||
json.dump({}, database_blank)
|
json.dump({}, database_blank)
|
||||||
|
|
||||||
threading.Thread(target=torch_sub_webserver.app.run,
|
threading.Thread(target=torch_sub_webserver.app.run,
|
||||||
args=("localhost", config.web_port),
|
args=("0.0.0.0", config.web_port),
|
||||||
daemon=True).start()
|
daemon=True).start()
|
||||||
|
|
||||||
subscribe(config.broker_hostname,
|
subscribe(config.broker_hostname,
|
||||||
|
|||||||
Reference in New Issue
Block a user