Blame view
src/Services/http.js
306 Bytes
03dcbf0c1
|
1 2 3 4 5 |
import axios from 'axios' import store from '@/store/store' export default () => { return axios.create({ |
76f4f9c78
|
6 |
baseURL:'http://192.168.4.220:3002/v1', |
55f72b7d7
|
7 |
// baseURL:'http://139.59.58.160:8001/v1', |
03dcbf0c1
|
8 9 10 11 12 |
headers: { Authorization: `Bearer ${store.state.token}` } }) } |