ipfs-shipyard / ipfs-deploy

Zero-Config CLI to Deploy Static Websites to IPFS
Other
1.16k stars 122 forks source link

fix: site-domain parameter when using cloudflare #197

Closed DavidHidvegi closed 3 years ago

DavidHidvegi commented 3 years ago

Problem: The site-domain parameter is not used when using cloudflare as a dns provider. As a result the pinned files and folders are all named or has the prefix '_dnslink' on pinata.

Solution: Change the logic and use the site-domain parameter first, if it's set.

Testing: No testing, since the change is too simple.

hacdias commented 3 years ago

Thank you very much for this!