mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-10 17:26:15 +01:00
Merge pull request #947 from lnbits/fix/copilot_ws
remove already added prefix ou route - ws working again
This commit is contained in:
commit
7d0b5ade3e
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class ConnectionManager:
|
|||
manager = ConnectionManager()
|
||||
|
||||
|
||||
@copilot_ext.websocket("/copilot/ws/{copilot_id}", name="copilot.websocket_by_id")
|
||||
@copilot_ext.websocket("/ws/{copilot_id}", name="copilot.websocket_by_id")
|
||||
async def websocket_endpoint(websocket: WebSocket, copilot_id: str):
|
||||
await manager.connect(websocket, copilot_id)
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue