4 ms·
How can one have sub-domains for IPFS? I thought IPFS URIs were like: ipfs://{HASH} But this site has them as: https://ipfs.io/ipfs/{HASH} https://ipfs.io/i
by AndyMcConachie 5y ago
How can one have sub-domains for IPFS?
I thought IPFS URIs were like:
ipfs://{HASH}
But this site has them as:
https://ipfs.io/ipfs/{HASH} https://ipfs.io/ipfs/{HASH}
I'm confused.
- Iridescent_ 5y agoThat is because you can't access IPFS in a regular browser anyways so it is likely a Gateway which fetches IPFS pages for you.
- nybble41 5y agoThat is correct. If you have the IPFS Companion[0] browser extension installed then it can automatically recognize URLs of this form and rewrite them to use your local IPFS node instead of the public ipfs.io gateway. The advantage of using https://ipfs.io/ipfs/ https://ipfs.io/ipfs/... in your links instead of ipfs://... is that the former still works even if the visitor doesn't have the extension installed. [0] https://github.com/ipfs/ipfs-companion https://github.com/ipfs/ipfs-companion