SHARE
TWEET

Untitled

a guest Aug 21st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Axios.defaults.baseURL = `${process.env.VUE_APP_API_LOCATION}`;
  2. Axios.defaults.headers.common.Accept = "application/json";
  3. Axios.defaults.withCredentials = true;
  4.  
  5. Vue.$http = Axios;
  6. Vue.prototype.$http = Axios;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top