diff --git a/src/ToolSocket.js b/src/ToolSocket.js index c22017b..f849c3c 100644 --- a/src/ToolSocket.js +++ b/src/ToolSocket.js @@ -44,6 +44,7 @@ class ToolSocket { } else if (isBrowser) { url = new URL(window.location.href); url.protocol = url.protocol.replace('http', 'ws'); + url.hash = ''; this.connect(url, networkId, origin); }