this is because http://originswag.eth.link.ipns.localhost:8080/dist/vendors~app.0f591475.bundle.js has this snippet:
window.location.href=window.location.href.replace("http:","https:")
I believe http: should be allowed, when store is loaded from http://*.localhost
tl;dr not a problem with IPFS Companion, the store software needs a fix to allow loading from local IPFS gateway at http://*.localhost:*/
I was able to reproduce the issue reported by @andyschwab, it is present in both Firefox and Chromium.
http://originswag.eth.link.ipns.localhost:8080/dist/vendors~app.0f591475.bundle.js
has this snippet:window.location.href=window.location.href.replace("http:","https:")
http:
should be allowed, when store is loaded fromhttp://*.localhost
tl;dr not a problem with IPFS Companion, the store software needs a fix to allow loading from local IPFS gateway at
http://*.localhost:*/