Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ipfs path resolution with 301 status #192

Merged
merged 1 commit into from Oct 13, 2022

Conversation

vasco-santos
Copy link
Member

This PR moves status code of path resolution redirect from 302 to 301. This aligns with other gateways do like dweb.link and flags to clients a permanent redirection.

This should help with browser local caching related to web3-storage/reads#81

@cloudflare-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a9a66e2
Status: ✅  Deploy successful!
Preview URL: https://6d7621f9.nftstorage-link.pages.dev
Branch Preview URL: https://fix-ipfs-path-resolution-wit.nftstorage-link.pages.dev

View logs

@vasco-santos vasco-santos merged commit 31dec6d into main Oct 13, 2022
@vasco-santos vasco-santos deleted the fix/ipfs-path-resolution-with-301-status branch October 13, 2022 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants