This commit is contained in:
benarc
2022-02-08 14:02:50 +00:00
parent 21c316293b
commit 0a5495f185
+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: