diff --git a/webclient/src/websocket/WebClient.tsx b/webclient/src/websocket/WebClient.tsx index e95612dd..2b315ddf 100644 --- a/webclient/src/websocket/WebClient.tsx +++ b/webclient/src/websocket/WebClient.tsx @@ -212,7 +212,7 @@ export class WebClient { const { host, port } = this.options; - this.socket = new WebSocket("ws://" + host + ":" + port); + this.socket = new WebSocket("wss://" + host + ":" + port); this.socket.binaryType = "arraybuffer"; // We are talking binary this.socket.onopen = () => {