From e9258c831d535e44096a0a7e36ea869de7030f81 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 18 Aug 2021 05:58:21 +0000 Subject: [PATCH] changed websocket bind address to 0.0.0.0 --- src/cli/superscript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/superscript.py b/src/cli/superscript.py index d06dbea..244b625 100644 --- a/src/cli/superscript.py +++ b/src/cli/superscript.py @@ -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()