Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Axios.defaults.baseURL = `${process.env.VUE_APP_API_LOCATION}`;
- Axios.defaults.headers.common.Accept = "application/json";
- Axios.defaults.withCredentials = true;
- Vue.$http = Axios;
- Vue.prototype.$http = Axios;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement