ipfsProxyHTTP
ipfsProxyHTTP copied to clipboard
Use the gateway from ipfs website
Hello
Instead of hard-linking gateway in this project, I think it would be better to use the one from IPFS website (and so contribute to only one file) instead of gateway.txt:
- https://raw.githubusercontent.com/ipfs/public-gateway-checker/master/gateways.json
So we can think of doing a script to wget this file something like that:
wget "https://cdn.rawgit.com/ipfs/public-gateway-checker/master/gateways.json"
sed -i '1d' gateways.json
sed -i '$ d' gateways.json
...
Or by integrating json file in your project, and just by adding //ipfs.io/ipfs/@ at the beginning of the file.
Or would there be any sense in that being a submodule?