bugfix in getting NIP-11 (reqwest .get() already adds one Host header)

This commit is contained in:
Mike Dilger 2023-02-20 15:44:06 +13:00
parent ca203cd3ea
commit aa7f13e9c1

View File

@ -112,7 +112,6 @@ impl Minion {
.deflate(true)
.build()?
.get(format!("https://{}", host))
.header("Host", host)
.header("Accept", "application/nostr+json")
.send();
let response = request_nip11_future.await?;