We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7bee2 commit eb50101Copy full SHA for eb50101
client/index.js
@@ -12,7 +12,8 @@ io = io.connect(
12
url.format({
13
protocol: urlParts.protocol,
14
auth: urlParts.auth,
15
- host: urlParts.host
+ hostname: (urlParts.hostname === '0.0.0.0') ? window.location.hostname : urlParts.hostname,
16
+ port: urlParts.port
17
}), {
18
path: urlParts.path === '/' ? null : urlParts.path
19
}
0 commit comments