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