@zeit/fetch-cached-dns
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -44,3 +44,3 @@ const { isIP } = require('net') | ||
const location = res.headers.get('Location') | ||
redirectOpts.headers.delete('Host') | ||
redirectOpts.headers.set('Host', parse(location).host) | ||
@@ -47,0 +47,0 @@ if (opts.onRedirect) { |
{ | ||
"name": "@zeit/fetch-cached-dns", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A decorator on top of `fetch` that caches the DNS query of the `hostname` of the passed URL", | ||
@@ -5,0 +5,0 @@ "scripts": { |
115495