Convert an IPFS URL (starting ipfs://) to a gateway URL (starting https://) that can be used in a webpage. If the passed URL is not an IPFS URL it is returned as a new URL object with no further changes.
An IPFS URL e.g. ipfs://bafy.../path
An IPFS gateway URL e.g. https://dweb.link/ipfs/bafy.../path
Generated using TypeDoc