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

feat: support ipfs://{dnslink} #748

Merged
merged 2 commits into from
Sep 11, 2019
Merged

Conversation

lidel
Copy link
Member

@lidel lidel commented Aug 20, 2019

  • fix: redirect-based handler vs no redirect on ipfs.io

    Disabling redirect does it for all subdomains. We use gateway.ipfs.io as intermediate step when handling ipfs:// in firefox, which resulted in a bizzarre edge case.
    This change restores ipfs:// handler when redirect on ipfs.io is
    disabled.

  • feat: support ipfs://{dnslink} (implements consensus from docs(ADDRESSING): default DNSLink to ipfs:// in-web-browsers#150 (comment))

    This adds support for resolving DNSLink via ipfs:// protocol handler For now it is just a redirect to proper /ipns/{dnslink} path, but opens a way to improve UX in the long run.

Closes #534

lidel added 2 commits August 16, 2019 22:15
Disabling redirect does it for all subdomains.
We use gateway.ipfs.io as intermediate step when handling
`ipfs://` in firefox, which resulted in a bizzarre edge case.

This change restores `ipfs://` handler when redirect on ipfs.io is
disabled.
This adds support for resolving DNSLink via ipfs:// protocol handler
For now it is just a redirect to proper /ipns/ path, but should improve
UX in the long run.

Closes #534
@lidel lidel merged commit 7ba096d into master Sep 11, 2019
@lidel lidel deleted the feat/support-dnslink-in-ipfs-urls branch September 11, 2019 10:06
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.

Redirect ipfs://example.net to ipns://
1 participant