Skip to content

Commit

Permalink
fixed conditional to check urlParts.path
Browse files Browse the repository at this point in the history
  • Loading branch information
knagaitsev committed May 9, 2019
1 parent 90c3bb2 commit 836f2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-src/default/index.js
Expand Up @@ -225,7 +225,7 @@ if (
let sockHost = hostname;
let sockPath = '/sockjs-node';
let sockPort = urlParts.port;
if (urlParts.path != null && urlParts.port !== '/') {
if (urlParts.path != null && urlParts.path !== '/') {
const parsedQuery = querystring.parse(urlParts.path);
// all of these sock url params are optionally passed in through
// __resourceQuery, so we need to fall back to the default if
Expand Down

0 comments on commit 836f2bf

Please sign in to comment.