multiformats / js-uri-to-multiaddr

Convert a URI to a Multiaddr: https://protocol.ai -> /dns4/protocol.ai/tcp/443/https
Other
3 stars 4 forks source link

fix: add default port for protocol #3

Closed olizilla closed 5 years ago

olizilla commented 5 years ago

multiaddrs are more explicit than urls. Default ports should always be included.

License: MIT Signed-off-by: Oli Evans oli@tableflip.io