mirror of https://gitlab.com/ecentrics/concordia
Ezerous
6 years ago
2 changed files with 8 additions and 4 deletions
@ -1,13 +1,17 @@ |
|||||
// OrbitDB uses Pubsub which is an experimental feature and need to be turned on manually.
|
// OrbitDB uses Pubsub which is an experimental feature
|
||||
|
// and need to be turned on manually.
|
||||
const ipfsOptions = { |
const ipfsOptions = { |
||||
EXPERIMENTAL: { |
EXPERIMENTAL: { |
||||
pubsub: true |
pubsub: true |
||||
}, config: { |
}, config: { |
||||
Addresses: { |
Addresses: { |
||||
Swarm: [ |
Swarm: [ |
||||
|
'/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star', |
||||
|
// Use local signal server (https://github.com/libp2p/js-libp2p-websocket-star-rendezvous)
|
||||
|
'/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star' |
||||
] |
] |
||||
} |
} |
||||
}, |
} |
||||
}; |
}; |
||||
|
|
||||
export default ipfsOptions; |
export default ipfsOptions; |
Loading…
Reference in new issue