From 4274b9e0e6388ac8b86af22bdf537fb3f106c765 Mon Sep 17 00:00:00 2001 From: Oli Evans Date: Thu, 18 Jul 2019 11:19:52 +0100 Subject: [PATCH] feat: allow /ipns/webui.ipfs.io on api port We want to allow user to try out the latest versions of the webui before they are officially released with go-ipfs. Right now ipfs-companion includes a workaround to strip the origin header from blessed, new versions of webui, to allow this, but it causes other issues, so we'd like to replace that hack, with this feature. see: https://github.com/ipfs-shipyard/ipfs-companion/issues/736 --- core/corehttp/webui.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/corehttp/webui.go b/core/corehttp/webui.go index 665e5c2403c..df33a3f2972 100644 --- a/core/corehttp/webui.go +++ b/core/corehttp/webui.go @@ -23,6 +23,7 @@ var WebUIPaths = []string{ "/ipfs/QmRyWyKWmphamkMRnJVjUTzSFSAAZowYP4rnbgnfMXC9Mr", "/ipfs/QmU3o9bvfenhTKhxUakbYrLDnZU7HezAVxPM6Ehjw9Xjqy", "/ipfs/QmPhnvn747LqwPYMJmQVorMaGbMSgA7mRRoyyZYz3DoZRQ", + "/ipns/webui.ipfs.io", } var WebUIOption = RedirectOption("webui", WebUIPath)