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.dns → ipfs.resolve #1302

Merged
merged 2 commits into from
Jan 24, 2024
Merged

fix: ipfs.dns → ipfs.resolve #1302

merged 2 commits into from
Jan 24, 2024

Conversation

lidel
Copy link
Member

@lidel lidel commented Nov 8, 2023

This PR aims to fix webui preload in Kubo 0.24.

Context: ipfs.dns has been deprecated for a while, and the way we use it here got broken in Kubo 0.24: ipfs/kubo#10212

@lidel lidel requested review from whizzzkid and a team as code owners November 8, 2023 23:39
Copy link
Member

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

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

SGTM, were you able to test this with a local build?

ipfs.dns is deprecated, and broken in Kubo 0.24:
ipfs/kubo#10212
@lidel lidel force-pushed the fix/webui-preload-kubo-0.24 branch from 9adfe5c to 2df0aac Compare November 8, 2023 23:53
@lidel
Copy link
Member Author

lidel commented Nov 9, 2023

@SgtPooki pushed fix, /api/v0/resolve is now called with /ipns path, and that returns resolved one that is used for preload:

2023-11-09_00-57

But it does not really matter, even if that failed in Kubo 0.24, the fallback based on pathname detection still works and preloads ok:

2023-11-09_00-56

@lidel lidel merged commit 659b797 into main Jan 24, 2024
5 checks passed
@lidel lidel deleted the fix/webui-preload-kubo-0.24 branch January 24, 2024 23:29
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.

2 participants