Skip to content

Commit

Permalink
fixing bug for issue axios#175 maybe axios#949 axios#443
Browse files Browse the repository at this point in the history
this is beginner mistake. please fix it
  • Loading branch information
aqualaguna committed Aug 4, 2017
1 parent f1fb3de commit 3c3f86c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/Axios.js
Expand Up @@ -38,8 +38,8 @@ Axios.prototype.request = function request(config) {
config.method = config.method.toLowerCase();

// Support baseURL config
if (config.baseURL && !isAbsoluteURL(config.url)) {
config.url = combineURLs(config.baseURL, config.url);
if (config.baseUrl && !isAbsoluteURL(config.url)) {
config.url = combineURLs(config.baseUrl, config.url);
}

// Hook up interceptors middleware
Expand Down

0 comments on commit 3c3f86c

Please sign in to comment.