From 836f2bf756e0a28788bca0c6f7ca64722e9bc87b Mon Sep 17 00:00:00 2001 From: Kirill Nagaitsev Date: Thu, 9 May 2019 18:30:07 -0500 Subject: [PATCH] fixed conditional to check urlParts.path --- client-src/default/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-src/default/index.js b/client-src/default/index.js index 67d27d52ce..b29c6c076f 100644 --- a/client-src/default/index.js +++ b/client-src/default/index.js @@ -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