Skip to content

Commit

Permalink
fix: ie11 runtime (#4403)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Apr 24, 2022
1 parent 4ca8d2a commit 256d5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-src/utils/createSocketURL.js
Expand Up @@ -5,7 +5,7 @@
function format(objURL) {
let protocol = objURL.protocol || "";

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

Expand Down

0 comments on commit 256d5fb

Please sign in to comment.