ipfs-shipyard / ipfs-github-action

Pin your site to IPFS from a GitHub Action
68 stars 7 forks source link

feat: use subdomain gateway for preview url #3

Closed olizilla closed 4 years ago

olizilla commented 4 years ago

ipfs cid-in-subdomain gateways are preferred now as they preserve the origin isolation of each site by using the cid as part of the domain. Each root is isloated from every other root. It means your site is mounted on / rather than /ipfs so root-relative urls will still work too, which is a big deal.

Also adds the gateway url as an action output, for nice nice.