Skip to content

Commit d80723a

Browse files
committed
README: use 127.0.0.1:9112 in websocket example
1 parent 0185fe4 commit d80723a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ data:{"id":"KcoQHfHJSx3fVhp3b1Y3h","msatoshi":"10000","status":"paid","paid_at":
238238
Subscribe to payment updates over WebSocket.
239239

240240
```javascript
241-
const ws = new WebSocket('http://api-token:[TOKEN]@charge.ln/ws')
241+
const ws = new WebSocket('http://api-token:[TOKEN]@localhost:9112/ws')
242242

243243
ws.addEventListener('message', msg => {
244244
const inv = JSON.parse(msg.data)

0 commit comments

Comments
 (0)