Skip to content

Commit

Permalink
fix: ie11 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Dec 19, 2019
1 parent e330423 commit 1306abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-src/default/utils/createSocketUrl.js
Expand Up @@ -54,7 +54,7 @@ function getSocketUrl(urlParts, loc) {
if (
(hostname === '0.0.0.0' || hostname === '::') &&
loc.hostname &&
loc.protocol.startsWith('http')
loc.protocol.indexOf('http') === 0
) {
hostname = loc.hostname;
}
Expand Down

0 comments on commit 1306abe

Please sign in to comment.