From aaa9bd5bba8fea727cb7196a2b7d7346ef5f9feb Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 8 Oct 2019 18:20:16 +0900 Subject: [PATCH] This add localhost ipfs to the list of node where to push the metadata and content --- src/lib/publishOnIpfs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/publishOnIpfs.js b/src/lib/publishOnIpfs.js index 03d562ea1d..555d3592aa 100644 --- a/src/lib/publishOnIpfs.js +++ b/src/lib/publishOnIpfs.js @@ -5,7 +5,8 @@ const IpfsClient = require('ipfs-mini') const ipfsNodes = [ new IpfsClient({ host: 'ipfs.komputing.org', port: 443, protocol: 'https' }), - new IpfsClient({ host: 'ipfs.infura.io', port: 5001, protocol: 'https' }) + new IpfsClient({ host: 'ipfs.infura.io', port: 5001, protocol: 'https' }), + new IpfsClient({ host: '127.0.0.1', port: 5001, protocol: 'http' }) ] module.exports = (contract, fileManager, cb, ipfsVerifiedPublishCallBack) => {