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.

23 lines
576 B

// OrbitDB uses Pubsub which is an experimental feature
// and need to be turned on manually.
6 years ago
const ipfsOptions = {
6 years ago
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
6 years ago
}
6 years ago
};
6 years ago
export default ipfsOptions;