mirror of https://github.com/sundowndev/http.git
fix: correctly handle `proxyHeaders: false` (#17)
parent
e079ef024e
commit
15274cbee1
|
@ -96,7 +96,8 @@ export default (ctx, inject) => {
|
|||
// Defaults
|
||||
const defaults = {
|
||||
retry: <%= parseInt(options.retry) %>,
|
||||
prefixUrl
|
||||
prefixUrl,
|
||||
headers: {}
|
||||
}
|
||||
|
||||
<% if (options.proxyHeaders) { %>
|
||||
|
|
Loading…
Reference in New Issue