modified web server to bind to 0.0.0.0 to allow external access
This commit is contained in:
parent
c1a5bb2db0
commit
1eee40a30e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user