We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f17967 commit 659b797Copy full SHA for 659b797
add-on/src/lib/precache.js
@@ -15,7 +15,7 @@ export async function precache (ipfs, state) {
15
try {
16
let cid, name
17
if (state.useLatestWebUI) { // resolve DNSLink
18
- cid = await ipfs.dns('webui.ipfs.io', { recursive: true })
+ cid = await ipfs.resolve('/ipns/webui.ipfs.io', { recursive: true })
19
name = 'latest webui from DNSLink at webui.ipfs.io'
20
} else { // find out safelisted path behind <api-port>/webui
21
cid = new URL((await fetch(`${state.apiURLString}webui`)).url).pathname
0 commit comments