Skip to content

Commit

Permalink
fix websocket url
Browse files Browse the repository at this point in the history
  • Loading branch information
yHSJ committed Nov 15, 2024
1 parent 7b52fb7 commit 0b12bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/hydra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class Hydra {
this.url.protocol = this.url.protocol.replace("ws", "http");
const websocketUrl = new URL(url);
websocketUrl.protocol = websocketUrl.protocol.replace("http", "ws");
this.connection = new WebSocket(websocketUrl + "?history=no");
this.connection = new WebSocket(websocketUrl + "&history=no");
this.connection.onopen = () => {
console.log("Connected to Hydra");
};
Expand Down

0 comments on commit 0b12bc8

Please sign in to comment.