Skip to content

Commit 4274b9e

Browse files
committed
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: ipfs/ipfs-companion#736
1 parent 920572b commit 4274b9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/corehttp/webui.go

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ var WebUIPaths = []string{
2323
"/ipfs/QmRyWyKWmphamkMRnJVjUTzSFSAAZowYP4rnbgnfMXC9Mr",
2424
"/ipfs/QmU3o9bvfenhTKhxUakbYrLDnZU7HezAVxPM6Ehjw9Xjqy",
2525
"/ipfs/QmPhnvn747LqwPYMJmQVorMaGbMSgA7mRRoyyZYz3DoZRQ",
26+
"/ipns/webui.ipfs.io",
2627
}
2728

2829
var WebUIOption = RedirectOption("webui", WebUIPath)

0 commit comments

Comments
 (0)