Commit 5ba0395a4ecdad5887820c9d829e52d0ffef0752

Authored by Neeraj Sharma
1 parent 99ffa9511f

change api url

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/Services/http.js
1 import axios from 'axios' 1 import axios from 'axios'
2 import store from '@/store/store' 2 import store from '@/store/store'
3 3
4 export default () => { 4 export default () => {
5 return axios.create({ 5 return axios.create({
6 // baseURL:'http://192.168.4.220:3002/v1', 6 // baseURL:'http://192.168.2.221:3002/v1',
7 baseURL:'http://139.59.58.160:8001/v1', 7 baseURL:'http://13.234.251.173:8001/v1',
8 headers: { 8 headers: {
9 Authorization: `Bearer ${store.state.token}` 9 Authorization: `Bearer ${store.state.token}`
10 } 10 }
11 }) 11 })
12 } 12 }
13 13