Permalink
Browse files

fix(headers): fix security bug with default request headers

  • Loading branch information...
pi0 committed Aug 13, 2017
1 parent e4535e8 commit 935522853674bd986380eb754b532da2dc94dcc7
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/plugin.template.js
@@ -123,7 +123,7 @@ export default (ctx) => {
// Create new axios instance
const axios = Axios.create({
baseURL,
<% if(options.proxyHeaders) { %>headers: defaultHeaders,<% } %>
<% if(options.proxyHeaders) { %>headers: { common: defaultHeaders },<% } %>
})
<% if(options.credentials) { %>

0 comments on commit 9355228

Please sign in to comment.