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 (#2557)
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 authored and Alan Shaw committed Oct 23, 2019
1 parent e0b91ba commit 16806d9
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 16806d9

Please sign in to comment.