From b85815a8dfbb2f335346f482b0a1a2bf650c2a83 Mon Sep 17 00:00:00 2001 From: humgate Date: Tue, 4 Jun 2024 20:17:10 +0600 Subject: [PATCH] bug fix for secure websocket --- web/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/app.js b/web/js/app.js index 6096029..b039e18 100644 --- a/web/js/app.js +++ b/web/js/app.js @@ -11,7 +11,7 @@ import * as comfyapi from "./comfyapi.js"; // WebSocket const server_address = window.location.hostname + ':' + window.location.port; - const socket = new WebSocket('ws://' + server_address + '/ws?clientId=' + client_id); + const socket = new WebSocket('wss://' + server_address + '/ws?clientId=' + client_id); socket.addEventListener('open', (event) => { console.log('Connected to the server'); });