Skip to content

Commit

Permalink
bugfix in nip-05 (reqwest.get() already adds one Host header)
Browse files Browse the repository at this point in the history
  • Loading branch information
ezicheq committed Feb 20, 2023
1 parent 4c2d7fc commit 6109ebb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/nip05.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ async fn fetch_nip05(user: &str, domain: &str) -> Result<Nip05, Error> {
"https://{}/.well-known/nostr.json?name={}",
domain, user
))
.header("Host", domain)
.send();
let response = nip05_future.await?;
let bytes = response.bytes().await?;
Expand Down

0 comments on commit 6109ebb

Please sign in to comment.