Compare commits

...

2 Commits

Author SHA1 Message Date
0595ac4a49 Merge branch 'fix/websocket_schema' 2025-11-17 02:32:40 +03:00
3e47644742 fixed wss vs ws choice 2025-11-17 02:32:28 +03:00

View File

@@ -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 +