Skip to content

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 a team and whizzzkid 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
@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.

3 participants