Commit c1d58100 authored by comfyanonymous's avatar comfyanonymous
Browse files

Another small fix.

parent 73251f92
...@@ -500,7 +500,7 @@ document.addEventListener('drop', (event) => { ...@@ -500,7 +500,7 @@ document.addEventListener('drop', (event) => {
if(ws) return; if(ws) return;
let opened = false; 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", () => { ws.addEventListener("open", () => {
opened = true; opened = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment