Blame view
src/Services/http.js
307 Bytes
03dcbf0c1
|
1 2 3 4 5 |
import axios from 'axios' import store from '@/store/store' export default () => { return axios.create({ |
8bb178441
|
6 |
// baseURL: 'http://192.168.2.221:3002/v1', |
a17c68a03
|
7 |
baseURL: 'http://13.234.251.173:8001/sv1', |
03dcbf0c1
|
8 9 |
headers: { Authorization: `Bearer ${store.state.token}` |
04165779e
|
10 |
} |
03dcbf0c1
|
11 |
}) |
04165779e
|
12 |
} |