hypercore-protocol / cli

A CLI for peer-to-peer file sharing using the Hypercore Protocol.
MIT License
206 stars 17 forks source link

remove duplicated closing slash #47

Closed ghost closed 1 year ago

ghost commented 3 years ago

the HyperStructure.url() already returns hash with leading hyper:// and closing slash

https://github.com/hypercore-protocol/cli/blob/master/lib/hyper/struct.js#L36

(i needed to do some extra testing and make this change part of #45)