Skip to content

Commit

Permalink
feat: allow /ipns/webui.ipfs.io on api port
Browse files Browse the repository at this point in the history
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: ipfs/ipfs-companion#736
  • Loading branch information
olizilla committed Jul 18, 2019
1 parent 920572b commit 4274b9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/corehttp/webui.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var WebUIPaths = []string{
"/ipfs/QmRyWyKWmphamkMRnJVjUTzSFSAAZowYP4rnbgnfMXC9Mr",
"/ipfs/QmU3o9bvfenhTKhxUakbYrLDnZU7HezAVxPM6Ehjw9Xjqy",
"/ipfs/QmPhnvn747LqwPYMJmQVorMaGbMSgA7mRRoyyZYz3DoZRQ",
"/ipns/webui.ipfs.io",
}

var WebUIOption = RedirectOption("webui", WebUIPath)

0 comments on commit 4274b9e

Please sign in to comment.