Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit 58410a2

Browse files
committed
feat: mafmt addrs now support /ipfs no need for ad-hoc filtering
1 parent ab73e3f commit 58410a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ class WebSockets {
4949

5050
return multiaddrs.filter((ma) => {
5151
return mafmt.WebSockets.matches(ma) ||
52-
mafmt.WebSocketsSecure.matches(ma) ||
53-
mafmt.WebSocketsIPFS.matches(ma) ||
54-
mafmt.WebSocketsSecureIPFS.matches(ma)
52+
mafmt.WebSocketsSecure.matches(ma)
5553
})
5654
}
5755
}

0 commit comments

Comments
 (0)