mirror of https://gitlab.com/ecentrics/concordia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
576 B
22 lines
576 B
// OrbitDB uses Pubsub which is an experimental feature
|
|
// and need to be turned on manually.
|
|
const ipfsOptions = {
|
|
EXPERIMENTAL: {
|
|
pubsub: true
|
|
},
|
|
config: {
|
|
Addresses: {
|
|
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)
|
|
// (e.g. rendezvous --port=9090 --host=127.0.0.1)
|
|
'/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star'
|
|
]
|
|
}
|
|
},
|
|
preload: {
|
|
enabled: false
|
|
}
|
|
};
|
|
|
|
export default ipfsOptions;
|
|
|