Skip to content

Commit

Permalink
fix: correctly handle proxyHeaders: false (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Per Anders Ljusbäck authored and pi0 committed Apr 18, 2019
1 parent e079ef0 commit 15274cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ export default (ctx, inject) => {
// Defaults
const defaults = {
retry: <%= parseInt(options.retry) %>,
prefixUrl
prefixUrl,
headers: {}
}

<% if (options.proxyHeaders) { %>
Expand Down

0 comments on commit 15274cb

Please sign in to comment.