Skip to content

Commit

Permalink
Clear fragment from input to WS url since it's not allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
hobinjk-ptc committed May 30, 2024
1 parent 1c6bda8 commit a58a872
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ToolSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a58a872

Please sign in to comment.