ipfs-shipyard / ipfs-deploy

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

fix: return URL with trailing slash #92

Closed lidel closed 5 years ago

lidel commented 5 years ago

This is a fix for https://github.com/ipfs-shipyard/ipfs-deploy/issues/86#issuecomment-528697472 (thx @autonome for debugging this!)

This PR removes the need for HTTP 301 (internal redirect done by go-ipfs when slash is missing) and closes #86 on gateways that override that disabled the mentioned redirect.

@hacdias I believe this should be released as a patch version, thanks!