diff --git a/resource/template/page/home.html b/resource/template/page/home.html index 23e88c5..ba32d97 100644 --- a/resource/template/page/home.html +++ b/resource/template/page/home.html @@ -126,7 +126,7 @@ } } }) - const wsProtocol = window.location.protocol == "https" ? "wss" : "ws" + const wsProtocol = window.location.protocol == "https:" ? "wss" : "ws" const ws = new WebSocket(wsProtocol + '://' + window.location.host + '/ws'); ws.onopen = function (evt) { $.suiAlert({