Skip to content

Commit 256d5fb

Browse files
authoredApr 24, 2022
fix: ie11 runtime (#4403)
1 parent 4ca8d2a commit 256d5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎client-src/utils/createSocketURL.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
function format(objURL) {
66
let protocol = objURL.protocol || "";
77

8-
if (protocol && !protocol.endsWith(":")) {
8+
if (protocol && protocol.substr(-1) !== ":") {
99
protocol += ":";
1010
}
1111

0 commit comments

Comments
 (0)
Please sign in to comment.