Open jes opened 7 years ago
Just need to add another line with https at https://github.com/dylanPowers/ipfs-chrome-extension/blob/master/ext/main.dart#L337 Should also change https://github.com/dylanPowers/ipfs-chrome-extension/blob/master/ext/main.dart#L276
I'm now using IPFS Station so unlikely I'll fix this, but also worth noting is that https://ipfs.io works as a gateway on its own (i.e. you don't need "gateway." at the start).
And for reference, IPFS Station understands "/ipfs/$hash" on any arbitrary domain, rather than hardcoding the gateway, so it works against any public gateway. #12
Does IPFS Station have all of the same functionality as this extension?
I have no idea I'm afraid, but I can't think of anything I'd want it to do that it doesn't do.
I'll have to look into it then. I don't really have any interest in maintaining this and if the IPFS Station extension does everything this does I may deprecate this extension and send everyone that way
Currently the extension redirects http://gateway.ipfs.io URLs perfectly fine, but doesn't do anything at all for https://gateway.ipfs.io.
I've looked through the code and can't see where it discriminates between http and https, so I'm guessing this is a Chrome API misfeature.
Worth thinking about how to fix it anyway.