mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-25 02:22:14 +00:00
chore: delegates config md properties for client (#903)
This commit is contained in:
parent
b89445274d
commit
c3e147df6b
@ -400,13 +400,13 @@ const PeerId = require('peer-id')
|
|||||||
const peerId = await PeerId.create()
|
const peerId = await PeerId.create()
|
||||||
|
|
||||||
const delegatedPeerRouting = new DelegatedPeerRouter(ipfsHttpClient({
|
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',
|
protocol: 'https',
|
||||||
port: 443
|
port: 443
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const delegatedContentRouting = new DelegatedContentRouter(peerId, ipfsHttpClient({
|
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',
|
protocol: 'https',
|
||||||
port: 443
|
port: 443
|
||||||
}))
|
}))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user