Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: revert evergreen webui
Browse files Browse the repository at this point in the history
Until we can resolve DNS names over HTTPS we can't trust that
someone hasn't hijacked the request, so revert the use of an IPNS
name to get the latest web ui CID.

Refs: https://github.com/ipfs/js-ipfs/issues/2212
  • Loading branch information
achingbrain committed Oct 23, 2019
1 parent e0b91ba commit 76e81a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/api/routes/webui.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = [
host = 'gateway.ipfs.io'
}

return h.redirect(`${scheme}://${host}:${port}/ipns/webui.ipfs.io`)
return h.redirect(`${scheme}://${host}:${port}/ipfs/QmcjeTciMNgEBe4xXvEaA4TQtwTRkXucx7DmKWViXSmX7m`)
}
}
]

0 comments on commit 76e81a9

Please sign in to comment.