File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ exports.init = function init (opts) {
42
42
43
43
const defaultOpts = JSON . parse ( optionDefaults . ipfsNodeConfig )
44
44
45
- // TODO: check if below is needed after js-ipfs is released with DHT disabled
46
45
defaultOpts . libp2p = {
47
46
config : {
48
47
dht : {
48
+ // TODO: check if below is needed after js-ipfs is released with DHT disabled
49
49
enabled : false
50
50
}
51
51
}
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ function buildDefaultIpfsNodeConfig () {
54
54
// for people already running regular go-ipfs and js-ipfs on standard ports
55
55
config . config . Addresses . API = '/ip4/127.0.0.1/tcp/5003'
56
56
config . config . Addresses . Gateway = '/ip4/127.0.0.1/tcp/9091'
57
+ // Until we have MulticastDNS+DNS, peer discovery is done over ws-star
58
+ config . config . Addresses . Swarm . push ( '/dnsaddr/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star' )
57
59
/*
58
60
(Sidenote on why we need API for Web UI)
59
61
Gateway can run without API port,
You can’t perform that action at this time.
0 commit comments