feature(@embark/ipfs) add other gateway urls for ipfs

This commit is contained in:
Iuri Matias 2019-03-13 20:43:14 -04:00
parent 2cc0d305e6
commit cfd06b5fe1

View File

@ -46,6 +46,8 @@ class IPFS {
function printUrls(dir_hash, callback) {
console.log(("=== " + __("DApp available at") + " http://localhost:8080/ipfs/" + dir_hash + "/").green);
console.log(("=== " + __("DApp available at") + " https://ipfs.infura.io/ipfs/" + dir_hash + "/").green);
console.log(("=== " + __("DApp available at") + " https://gateway.ipfs.io/ipfs/" + dir_hash + "/").green);
console.log(("=== " + __("DApp available at") + " https://cloudflare-ipfs.com/ipfs/" + dir_hash + "/").green);
if(self.env === 'development') {
console.log(("\n=== " +
"Blockchain must be running".bold +