2 ms·
This answers the first question that popped into my mind. Why not just curl the gateway then? You already could!
by evbogue 3y ago
This answers the first question that popped into my mind.
Why not just curl the gateway then? You already could!
- gcr 3y agoHonestly, I agree. This is not IPFS support, this is “we ship with a default URL rewriting rule and then make an HTTP call” It’s a first step, though At least the rule is invoked safely. Curl doesn’t do localhost pings by default; instead it checks for the use of an IPFS_GATEWAY environment variable or a ~/.ipfs/gateway file, and will fail with instructions, if neither are present