From ddb2f08eed204116b5ce7c0587cf887488e110d7 Mon Sep 17 00:00:00 2001 From: guochao Date: Wed, 29 May 2024 21:01:14 +0800 Subject: [PATCH] fix protocol --- chat-signaling-server/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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://" }