fix: correctly handle `proxyHeaders: false` (#17)

master
Per Anders Ljusbäck 2019-04-18 18:04:44 +02:00 committed by Pooya Parsa
parent e079ef024e
commit 15274cbee1
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ export default (ctx, inject) => {
// Defaults
const defaults = {
retry: <%= parseInt(options.retry) %>,
prefixUrl
prefixUrl,
headers: {}
}
<% if (options.proxyHeaders) { %>