mirror of
https://github.com/fluencelabs/js-libp2p-websockets
synced 2025-06-12 17:51:31 +00:00
update multiaddr and mafmt to support websockets name change
This commit is contained in:
@ -8,7 +8,7 @@ let ws
|
||||
|
||||
gulp.task('test:browser:before', (done) => {
|
||||
ws = new WSlibp2p()
|
||||
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/websockets')
|
||||
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/ws')
|
||||
ws.createListener(mh, (socket) => {
|
||||
socket.pipe(socket)
|
||||
}, done)
|
||||
|
Reference in New Issue
Block a user