Another small fix.

This commit is contained in:
comfyanonymous 2023-02-13 16:07:34 -05:00
parent 73251f92c8
commit c1d5810020
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ document.addEventListener('drop', (event) => {
if(ws) return;
let opened = false;
ws = new WebSocket(`ws${window.location.protocol === "https"? "s" : ""}://${location.host}/ws`);
ws = new WebSocket(`ws${window.location.protocol === "https:"? "s" : ""}://${location.host}/ws`);
ws.addEventListener("open", () => {
opened = true;