gateway URLs: http -> https

This commit is contained in:
Michael Bradley, Jr 2018-08-28 15:44:50 -05:00
parent 4c63c5adef
commit 08fc21c890
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class IPFS {
},
function printUrls(dir_hash, callback) {
console.log(("=== " + __("DApp available at") + " http://localhost:8080/ipfs/" + dir_hash + "/").green);
console.log(("=== " + __("DApp available at") + " http://ipfs.infura.io/ipfs/" + dir_hash + "/").green);
console.log(("=== " + __("DApp available at") + " https://ipfs.infura.io/ipfs/" + dir_hash + "/").green);
callback(null, dir_hash);
}

View File

@ -31,7 +31,7 @@ class Swarm {
return callback('No directory hash was returned');
}
console.log(("=== " + __("DApp available at") + ` ${self.getUrl}${dir_hash}/`).green);
console.log(("=== " + __("DApp available at") + ` http://swarm-gateways.net/bzz:/${dir_hash}`).green);
console.log(("=== " + __("DApp available at") + ` https://swarm-gateways.net/bzz:/${dir_hash}`).green);
callback(null, dir_hash);
}