storage.js
1 module.exports = { 2 default: { 3 enabled: true, 4 ipfs_bin: "ipfs", 5 provider: "ipfs", 6 available_providers: ["ipfs"], 7 upload: { 8 provider: "ipfs", 9 host: "localhost", 10 port: 5001, 11 getUrl: "http://localhost:8080/ipfs/" 12 }, 13 dappConnection: [ 14 {provider: "ipfs", host: "localhost", port: 5001, getUrl: "http://localhost:8080/ipfs/"}, 15 {provider: "swarm", host: "localhost", port: 5001, getUrl: "http://localhost:8080/ipfs/"} 16 ] 17 }, 18 development: { 19 enabled: true, 20 provider: "ipfs", 21 upload: { 22 host: "localhost", 23 port: 5001, 24 getUrl: "http://localhost:8080/ipfs/" 25 } 26 } 27 }