diff --git a/index.ts b/index.ts index 27d1b1c1..2da510ad 100644 --- a/index.ts +++ b/index.ts @@ -43,6 +43,9 @@ class Client { delete data.query + // Remove the host header, leaving it causes issues with SNI and TLS verification + delete data.host + const req = superagent.post(url.format(target)).send(data.body) delete data.body