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 #19

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

@vasco-santos vasco-santos merged commit d7f0878 into main Oct 13, 2022
@vasco-santos vasco-santos deleted the fix/ipfs-path-resolution-with-301-status branch October 13, 2022 13:05
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