Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
parent
7e023a2af2
commit
e763978b4a
1 changed files with 1 additions and 1 deletions
2
proxy.py
2
proxy.py
|
@ -34,7 +34,7 @@ async def handler(websocket):
|
|||
async def main():
|
||||
# Start the WebSocket server
|
||||
ws_port = os.environ.get("WS_PORT", 9999)
|
||||
server = await websockets.asyncio.server.serve(handler, "::", ws_port)
|
||||
server = await websockets.asyncio.server.serve(handler, "", ws_port)
|
||||
print(f"WebSocket server listening on ws://[::]:{ws_port}")
|
||||
await server.wait_closed()
|
||||
|
||||
|
|
Loading…
Reference in a new issue