Blame view

src/Services/http.js 306 Bytes
03dcbf0c1   Neeraj Sharma   fix all api and r...
1
2
3
4
5
  import axios from 'axios'
  import store from '@/store/store'
  
  export default () => {
      return axios.create({
76f4f9c78   Neeraj Sharma   all api add in se...
6
          baseURL:'http://192.168.4.220:3002/v1',
55f72b7d7   Neeraj Sharma   add new page are ...
7
          // baseURL:'http://139.59.58.160:8001/v1',
03dcbf0c1   Neeraj Sharma   fix all api and r...
8
9
10
11
12
          headers: {
              Authorization: `Bearer ${store.state.token}`
            }
      })
  }