This commit is contained in:
benarc
2022-07-18 09:11:19 +01:00
committed by Tiago vasconcelos
parent 3f356f9de8
commit 4e65c39b36
+1 -1
View File
@@ -74,7 +74,7 @@ class ConnectionManager:
manager = ConnectionManager()
@nostradmin_ext.websocket("/nostradmin/ws/{nostr_id}", name="copilot.websocket_by_id")
@nostradmin_ext.websocket("/nostradmin/ws/{nostr_id}", name="nostr_id.websocket_by_id")
async def websocket_endpoint(websocket: WebSocket, copilot_id: str):
await manager.connect(websocket, nostr_id)
try: