forked from DECA/decasearch
Merge tag '1.1' into develop
1.1 Hot fix bug when a node is offline
This commit is contained in:
commit
d89785581d
20
src/App.js
20
src/App.js
|
@ -144,9 +144,29 @@ class App extends React.Component {
|
|||
console.log('IPFS node ready with id ' + info.id)
|
||||
try{
|
||||
await ipfs.swarm.connect('/dns4/node5.deca.green/tcp/443/wss/p2p/QmZL1otpiCzWMEJTHXbQ5Hb4aFE7TKLjAuuBAAet1WAgtD');
|
||||
}catch (error)
|
||||
{
|
||||
console.log(error)
|
||||
}
|
||||
try{
|
||||
await ipfs.swarm.connect('/dns4/node0.deca.green/tcp/443/wss/p2p/Qmd4Cv2fNwixP6cabEnTVFkF57GUGD6VBEcDhUkqHPG4X9');
|
||||
}catch (error)
|
||||
{
|
||||
console.log(error)
|
||||
}
|
||||
try{
|
||||
await ipfs.swarm.connect('/dns4/node4.deca.green/tcp/443/wss/p2p/QmQAbhxMCjQpNrdU3xJYZjjmd7bHXUGcLx2o7wfpvvzJvc');
|
||||
}catch (error)
|
||||
{
|
||||
console.log(error)
|
||||
}
|
||||
try{
|
||||
await ipfs.swarm.connect("/dns4/node2.deca.green/tcp/443/wss/p2p/QmfBASmqe3Az9AUjCxx3dtomSmbZEiJCsXusPxznjNnjU5");
|
||||
}catch (error)
|
||||
{
|
||||
console.log(error)
|
||||
}
|
||||
try{
|
||||
await ipfs.swarm.connect("/dns4/node.neetsec.com/tcp/443/wss/p2p/QmYDVy4LE5wsNecmHPpyUp8MDuSRtpYtQuDjpLhvRjfKTj");
|
||||
}catch (error)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue