Skip to content

fix: return URL with trailing slash #92

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

Merged
merged 1 commit into from
Sep 6, 2019
Merged

Conversation

lidel
Copy link
Member

@lidel lidel commented Sep 6, 2019

This is a fix for #86 (comment) (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!

Removes the need for internal redirect done by gateway
and closes #86 on gateways that override that behavior.

License: MIT
Signed-off-by: Marcin Rataj <[email protected]>
@lidel lidel requested a review from hacdias September 6, 2019 09:11
Copy link
Member

@hacdias hacdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hacdias hacdias merged commit 8544f30 into master Sep 6, 2019
@hacdias hacdias deleted the fix/add-trailing-slash branch September 6, 2019 09:22
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.

relative links in files not added
2 participants