Default to kosmos IPFS
we always had issues with IPFS not finding data from other peers
This commit is contained in:
parent
1c097f37a6
commit
077b6fb1c1
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user