Default to kosmos IPFS
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

we always had issues with IPFS not finding data from other peers
This commit is contained in:
bumi 2022-10-22 15:21:38 +00:00
parent 1c097f37a6
commit 077b6fb1c1

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);