Permalink
Browse files

fix(axios): req typo

  • Loading branch information...
pi0 committed Jun 9, 2017
1 parent 4dfdc2d commit 16f28b1fcd0531e89471ebf5f54e154693b87d6f
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/axios/plugin.js
@@ -69,7 +69,7 @@ export default (ctx) => {

const axios = Axios.create({
baseURL,
<% if(options.AXIOS_SSR_HEADERS) { %>headers: (req && request.headers) ? request.headers : {} <% } %>
<% if(options.AXIOS_SSR_HEADERS) { %>headers: (req && req.headers) ? req.headers : {} <% } %>
})
<% if(options.AXIOS_CREDENTIALS) { %>
// Send credentials only to relative and API Backend requests

0 comments on commit 16f28b1

Please sign in to comment.