Skip to content

Commit

Permalink
feat(proxys): pass proxy configuration to axios
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Rötsch committed May 3, 2017
1 parent 38f0f85 commit 3c4db8a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/utils/create-clients.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export default function createClients (opts) {
host: opts.deliveryHost,
port: opts.deliveryPort,
headers: opts.deliveryHeaders,
insecure: opts.deliveryInsecure
insecure: opts.deliveryInsecure,
proxy: opts.proxy
})
}

Expand All @@ -36,7 +37,8 @@ export default function createClients (opts) {
host: opts.managementHost,
port: opts.managementPort,
headers: opts.managementHeaders,
insecure: opts.managementInsecure
insecure: opts.managementInsecure,
proxy: opts.proxy
})
}

Expand All @@ -48,7 +50,8 @@ export default function createClients (opts) {
host: opts.managementHost,
port: opts.managementPort,
headers: opts.managementHeaders,
insecure: opts.managementInsecure
insecure: opts.managementInsecure,
proxy: opts.proxy
})
}
}
Expand Down

0 comments on commit 3c4db8a

Please sign in to comment.