From d2f00435ccaa2037f03738656451699eeb1ceab1 Mon Sep 17 00:00:00 2001 From: Tiago vasconcelos Date: Tue, 6 Sep 2022 12:30:20 +0100 Subject: [PATCH] remove already added prefix ou route - ws working again --- lnbits/extensions/copilot/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/copilot/views.py b/lnbits/extensions/copilot/views.py index ff0a5a934..7ee7f590e 100644 --- a/lnbits/extensions/copilot/views.py +++ b/lnbits/extensions/copilot/views.py @@ -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: