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.
2 parents 7df2812 + d7d0741 commit e5df542Copy full SHA for e5df542
client/index.js
@@ -63,7 +63,7 @@ var newConnection = function() {
63
protocol: urlParts.protocol,
64
auth: urlParts.auth,
65
hostname: (urlParts.hostname === '0.0.0.0') ? window.location.hostname : urlParts.hostname,
66
- port: urlParts.port,
+ port: (urlParts.port == '0') ? window.location.port : urlParts.port,
67
pathname: urlParts.path == null || urlParts.path === '/' ? "/sockjs-node" : urlParts.path
68
}));
69
0 commit comments