添加用户组模块,修复相关问题若干

This commit is contained in:
2024-03-31 20:27:59 +08:00
parent 84d4fbcd52
commit 574345c715
9 changed files with 46 additions and 25 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ async def broadcast(message):
for ws in connected:
await ws.send(message)
start_server = websockets.serve(handler, "localhost", 6789)
start_server = websockets.serve(handler, "localhost", 9002)
asyncio.get_event_loop().run_until_complete(start_server)
asyncio.get_event_loop().run_forever()