diff --git a/front_files/index.js b/front_files/index.js index 9539842..5663c3b 100644 --- a/front_files/index.js +++ b/front_files/index.js @@ -182,7 +182,7 @@ console.log("Echo mock frontend loaded"); async function connectWebSocket() { // supporting ws for local testing. - var schema = window.location.protocol === "https" ? "wss://" : "ws://" + var schema = window.location.protocol === "https:" ? "wss:" : "ws:" var wsURL = schema + window.location.host +