We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7a3c04 commit 943a8c0Copy full SHA for 943a8c0
client-src/default/index.js
@@ -225,7 +225,12 @@ if (
225
let sockHost = hostname;
226
let sockPath = '/sockjs-node';
227
let sockPort = urlParts.port;
228
-if (urlParts.path != null && urlParts.path !== '/') {
+// eslint-disable-next-line no-undefined
229
+if (
230
+ urlParts.path !== null &&
231
+ urlParts.path !== undefined &&
232
+ urlParts.path !== '/'
233
+) {
234
const parsedQuery = querystring.parse(urlParts.path);
235
// all of these sock url params are optionally passed in through
236
// __resourceQuery, so we need to fall back to the default if
0 commit comments