Default to kosmos IPFS #230

Closed
bumi wants to merge 1 commits from ipfs-defaults into master

View File

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