fix protocol

This commit is contained in:
guochao 2024-05-29 21:01:14 +08:00
parent a72a8764c2
commit ddb2f08eed

View File

@ -87,7 +87,7 @@
} }
let protocol = "ws://"; let protocol = "ws://";
if (location.protocol === "https") { if (location.protocol === "https:") {
protocol = "wss://" protocol = "wss://"
} }