chore: delegates config md properties for client (#903)

This commit is contained in:
Vasco Santos 2021-03-24 09:35:17 +01:00 committed by GitHub
parent b89445274d
commit c3e147df6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,13 +400,13 @@ const PeerId = require('peer-id')
const peerId = await PeerId.create()
const delegatedPeerRouting = new DelegatedPeerRouter(ipfsHttpClient({
host: 'node0.delegate.ipfs.io' // In production you should setup your own delegates
host: 'node0.delegate.ipfs.io', // In production you should setup your own delegates
protocol: 'https',
port: 443
}))
const delegatedContentRouting = new DelegatedContentRouter(peerId, ipfsHttpClient({
host: 'node0.delegate.ipfs.io' // In production you should setup your own delegates
host: 'node0.delegate.ipfs.io', // In production you should setup your own delegates
protocol: 'https',
port: 443
}))