diff --git a/bruno/opencollection.yml b/bruno/opencollection.yml index ec6a8c6..1318a1c 100644 --- a/bruno/opencollection.yml +++ b/bruno/opencollection.yml @@ -119,7 +119,7 @@ docs: - **OPDS Feeds**: GET /opds/* - OPDS catalog for e-reader integration - **OPDS Acquisition**: GET /opds/acquisition/* - Download media items WebSocket (Real-time) - - **WebSocket**: WS /api/ws - Real-time sync events (progress, notes, highlights) + - **WebSocket**: WS /ws/sync - Real-time sync events (progress, notes, highlights) Collection Organization bruno/ ├── user/ # User authentication and profile diff --git a/web/src/admin.ts b/web/src/admin.ts index f16e2bd..eca4978 100644 --- a/web/src/admin.ts +++ b/web/src/admin.ts @@ -337,7 +337,7 @@ let scanPollInterval: ReturnType | undefined = undefined; let scanWs: WebSocket | null = null; function connectScanWebSocket(): void { const protocol = window.location.protocol === "https:" ? "wss:" : "ws:"; - const wsUrl = `${protocol}//${window.location.host}/api/ws`; + const wsUrl = `${protocol}//${window.location.host}/ws/sync`; scanWs = new WebSocket(wsUrl);