fix protocol
This commit is contained in:
parent
a72a8764c2
commit
ddb2f08eed
@ -87,7 +87,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
let protocol = "ws://";
|
let protocol = "ws://";
|
||||||
if (location.protocol === "https") {
|
if (location.protocol === "https:") {
|
||||||
protocol = "wss://"
|
protocol = "wss://"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user