Fix: websocket error

This commit is contained in:
ziesorx 2025-09-12 20:25:18 +07:00
parent aacc5145d4
commit f617025e01
4 changed files with 207 additions and 5 deletions

2
app.py
View file

@ -102,7 +102,7 @@ app = FastAPI(
)
@app.websocket("/ws")
@app.websocket("/")
async def websocket_endpoint(websocket: WebSocket):
"""Main WebSocket endpoint for real-time communication."""
try: