From 19333c53f64e7229a629190891431cc1cc83bc7e Mon Sep 17 00:00:00 2001 From: Jeremy Letto Date: Thu, 14 Oct 2021 20:58:34 -0500 Subject: [PATCH] secure webclient socket (#4432) Co-authored-by: Jeremy Letto --- webclient/src/websocket/WebClient.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => {