ipfs / ipfs-companion

Browser extension that simplifies access to IPFS resources on the web
https://docs.ipfs.tech/install/ipfs-companion/
Creative Commons Zero v1.0 Universal
2.05k stars 325 forks source link

Don't use public gateway for DNS lookups "automatic mode" is off #916

Open Stebalien opened 4 years ago

Stebalien commented 4 years ago

I'd like IPFS companion to use a local gateway without exposing a local IPFS API endpoint. Unfortunately, if I do this, companion will direct all dnslink queries to the public gateway because my local IPFS node "has no peers".

If I configure companion to use a specific IPFS gateway, I expect it to always use that gateway.

jessicaschilling commented 4 years ago

Thanks @Stebalien -- we'll bring this up in our next weekly triage session.

lidel commented 4 years ago

SGTM, switching to gateway for dnslink lookups should work: http://localhost:8080/api/v0/dns/docs.ipfs.io?cid-base=base32