We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e330423 commit 1306abeCopy full SHA for 1306abe
client-src/default/utils/createSocketUrl.js
@@ -54,7 +54,7 @@ function getSocketUrl(urlParts, loc) {
54
if (
55
(hostname === '0.0.0.0' || hostname === '::') &&
56
loc.hostname &&
57
- loc.protocol.startsWith('http')
+ loc.protocol.indexOf('http') === 0
58
) {
59
hostname = loc.hostname;
60
}
0 commit comments