With subdomain gateway on localhost (#853), users who want to use the latest Web UI can add http://webui.ipfs.io.ipns.localhost:8080 to API.HTTPHeaders.Access-Control-Allow-Origin whitelist in go-ipfs config.
Idea: add an opt-in on Preferences screen (could be an experiment)
The toggle would:
Origin header from requests coming from webui.ipfs.io.ipns.localhost:8080 (will disable Origin check at go-ipfs)webuiRootUrl to open webui.ipfs.io.ipns.localhost:8080 instead of 127.0.0.1:5001 (this includes Open WebUI in browser action menu, but also Files screen after successful file import)@lidel Suggestion of minor tweak to the text? (except without the automatic GitHub link-making, sigh)
_Replaces your node's stable version with the latest at /ipns/webui.ipfs.io (requires working DNS and a compatible back end)_
@lidel are we interested in following up on this one?
Yes, I believe adding a toggle that changes the URL behind menu item is all we need to do here:
That is all.
Companion should not do any hacking around Origin or CORS: WebUI has pretty good instructions for users on how to set up headers now: https://github.com/ipfs-shipyard/ipfs-webui/pull/1496
@lidel Do you have time? ;)
I was about to reply I don't have bandwidth and started writing tips for someone who would like to pick this up and i accidentaly ended up implementing it :man_facepalming: see #893
Most helpful comment
I was about to reply I don't have bandwidth and started writing tips for someone who would like to pick this up and i accidentaly ended up implementing it :man_facepalming: see #893