Fix: websocket error
This commit is contained in:
parent
aacc5145d4
commit
f617025e01
4 changed files with 207 additions and 5 deletions
2
app.py
2
app.py
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue