mirror of
https://github.com/fluencelabs/js-libp2p-websockets
synced 2025-06-12 23:21:24 +00:00
fix: the fix
This commit is contained in:
@ -26,7 +26,7 @@ module.exports = class WebSockets {
|
|||||||
log('dialing %s', url)
|
log('dialing %s', url)
|
||||||
const socket = connect(url, {
|
const socket = connect(url, {
|
||||||
binary: true,
|
binary: true,
|
||||||
onConnect: () => callback
|
onConnect: () => callback()
|
||||||
})
|
})
|
||||||
|
|
||||||
const conn = new Connection(socket)
|
const conn = new Connection(socket)
|
||||||
|
Reference in New Issue
Block a user