fix: address incorrect host

This commit is contained in:
2021-07-01 01:24:14 -04:00
parent 0ba194c872
commit e499c23d1b
3 changed files with 8 additions and 4 deletions

View File

@@ -8,6 +8,6 @@ async def echo(websocket, path):
await websocket.send(message)
asyncio.get_event_loop().run_until_complete(
websockets.serve(echo, 'tetris-clone.azurewebsites.net', 5000))
websockets.serve(echo, "", 5000))
print("starting websocket...")
asyncio.get_event_loop().run_forever()