Commit 7adc8fc47af1179544ca6e91b329c466323c88e6

Authored by Neeraj Sharma
1 parent a17c68a030

fix live api url

Showing 1 changed file with 1 additions and 1 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.2.221:3002/v1', 6 // baseURL: 'http://192.168.2.221:3002/v1',
7 baseURL: 'http://13.234.251.173:8001/sv1', 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 }