Skip to content

Commit

Permalink
added log msg to createCustomInstance
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey committed Nov 6, 2023
1 parent 5d3a474 commit 51e5de0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/createCustomInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const createInstance = (customConfig = {}) => {
const newConfig = merge(customConfig, defaultConfig);
const instance = axios.create(newConfig);

console.log(`Axios config: ${newConfig} `);

return addInterceptors(instance);
};

Expand Down

0 comments on commit 51e5de0

Please sign in to comment.