Spaces:
Running
Running
Update main.py
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -55,8 +55,8 @@ async def websocket_endpoint(websocket: WebSocket, client_id: int):
|
|
55 |
while True:
|
56 |
print("3")
|
57 |
data = await websocket.receive_text()
|
58 |
-
print("4")
|
59 |
-
await manager.send_personal_message(f"You wrote: {data}", websocket)
|
60 |
print("5")
|
61 |
message = {"time":current_time,"clientId":client_id,"message":data}
|
62 |
print("6")
|
|
|
55 |
while True:
|
56 |
print("3")
|
57 |
data = await websocket.receive_text()
|
58 |
+
# print("4")
|
59 |
+
# await manager.send_personal_message(f"You wrote: {data}", websocket)
|
60 |
print("5")
|
61 |
message = {"time":current_time,"clientId":client_id,"message":data}
|
62 |
print("6")
|