diff --git a/backend/src/api/services/acceleration.ts b/backend/src/api/services/acceleration.ts index f625b7f15..0f43ee28c 100644 --- a/backend/src/api/services/acceleration.ts +++ b/backend/src/api/services/acceleration.ts @@ -242,7 +242,7 @@ class AccelerationApi { while (this.useWebsocket) { this.startedWebsocketLoop = true; if (!this.ws) { - this.ws = new WebSocket(`${config.MEMPOOL_SERVICES.API.replace('https://', 'ws://').replace('http://', 'ws://')}/accelerator/ws`); + this.ws = new WebSocket(`${config.MEMPOOL_SERVICES.API.replace('https://', 'wss://').replace('http://', 'ws://')}/accelerator/ws`); this.websocketConnected = true; this.ws.on('open', () => {