mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-09 22:44:44 +00:00
changed websocket bind address to 0.0.0.0
This commit is contained in:
parent
efc353dafb
commit
e9258c831d
@ -225,7 +225,7 @@ def main_lin(pid_path):
|
||||
break
|
||||
|
||||
clients = []
|
||||
start_server = websockets.serve(handler, "127.0.0.1", 5678)
|
||||
start_server = websockets.serve(handler, "0.0.0.0", 5678)
|
||||
|
||||
asyncio.get_event_loop().run_until_complete(start_server)
|
||||
threading.Thread(target = asyncio.get_event_loop().run_forever).start()
|
||||
|
Loading…
Reference in New Issue
Block a user