Merge pull request #2396 from ethereum/yann300-patch-2

add localhost ipfs to the list of node where to push the content
pull/1/head
yann300 5 years ago committed by GitHub
commit 0196134b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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) => {

Loading…
Cancel
Save