Skip to content

Commit 02e7be1

Browse files
authored
Fix discovery method to use DhtDiscovery (#418)
1 parent af77384 commit 02e7be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/docs/concepts/discovery/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ use iroh::Endpoint;
7373
let dht_discovery = iroh::discovery::dht::DhtDiscovery::builder();
7474
let mdns = iroh::discovery::mdns::MdnsDiscovery::builder();
7575
let ep = Endpoint::empty_builder(iroh::RelayMode::Default)
76-
.discovery(dnt_discovery)
76+
.discovery(dht_discovery)
7777
.discovery(mdns)
7878
.bind()
7979
.await?;

0 commit comments

Comments
 (0)