From 76e81a9a1392d191c33a913c743f939795ee152e Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 23 Oct 2019 07:41:50 +0100 Subject: [PATCH] fix: revert evergreen webui 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 --- src/http/api/routes/webui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/api/routes/webui.js b/src/http/api/routes/webui.js index d97e3b3d4e..9a7622da54 100644 --- a/src/http/api/routes/webui.js +++ b/src/http/api/routes/webui.js @@ -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`) } } ]