mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 16:31:18 +00:00
bugfix in getting NIP-11 (reqwest .get() already adds one Host header)
This commit is contained in:
parent
ca203cd3ea
commit
aa7f13e9c1
@ -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?;
|
||||
|
Loading…
Reference in New Issue
Block a user