Default to kosmos IPFS #230

Closed
bumi wants to merge 1 commits from ipfs-defaults into master
Showing only changes of commit 077b6fb1c1 - Show all commits

View File

@ -5,7 +5,7 @@ const fetch = require('node-fetch');
class IPFS {
constructor (config) {
if (!config) {
config = { host: 'localhost', port: '5001', protocol: 'http' };
config = { host: 'ipfs.kosmos.org', port: '5444', protocol: 'https' };
}
this._config = config;
this._ipfsAPI = ipfsClient.create(config);