Skip to content

Commit

Permalink
Fix hostname in websocket example
Browse files Browse the repository at this point in the history
  • Loading branch information
natsoni committed Mar 5, 2024
1 parent 14ddd97 commit 4faf304
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/nodejs/bitcoin/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import mempoolJS from "./../../../src/index";

const init = async () => {
try {

const { bitcoin: { websocket } } = mempoolJS({hostname: 'localhost:4200'});
const {
bitcoin: { websocket },
} = mempoolJS();

const ws = websocket.wsInit();

Expand Down

0 comments on commit 4faf304

Please sign in to comment.