diff --git a/chat-signaling-server/templates/index.html b/chat-signaling-server/templates/index.html index b9a4b0c..20ff16a 100644 --- a/chat-signaling-server/templates/index.html +++ b/chat-signaling-server/templates/index.html @@ -87,7 +87,7 @@ } let protocol = "ws://"; - if (location.protocol === "https") { + if (location.protocol === "https:") { protocol = "wss://" }