http.js 306 Bytes
import axios from 'axios'
import store from '@/store/store'

export default () => {
    return axios.create({
        // baseURL: 'http://192.168.2.221:3002/v1',
        baseURL: 'http://13.234.251.173:8001/v1',
        headers: {
            Authorization: `Bearer ${store.state.token}`
        }
    })
}