mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-13 22:56:19 +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
|
break
|
||||||
|
|
||||||
clients = []
|
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)
|
asyncio.get_event_loop().run_until_complete(start_server)
|
||||||
threading.Thread(target = asyncio.get_event_loop().run_forever).start()
|
threading.Thread(target = asyncio.get_event_loop().run_forever).start()
|
||||||
|
Loading…
Reference in New Issue
Block a user