diff --git a/client-src/default/utils/createSocketUrl.js b/client-src/default/utils/createSocketUrl.js index b7bf6c944d..e55e6b4a4e 100644 --- a/client-src/default/utils/createSocketUrl.js +++ b/client-src/default/utils/createSocketUrl.js @@ -11,15 +11,11 @@ function createSocketUrl(resourceQuery) { if (typeof resourceQuery === 'string' && resourceQuery !== '') { // If this bundle is inlined, use the resource query to get the correct url. + // strip leading `?` from query string urlParts = url.parse(resourceQuery.substr(1)); } else { // Else, get the url from the