base url
This commit is contained in:
parent
9b92f4742f
commit
726d1f4984
@ -5,9 +5,9 @@ const getToken = () => {
|
|||||||
return localStorage.getItem('authToken')
|
return localStorage.getItem('authToken')
|
||||||
}
|
}
|
||||||
|
|
||||||
// baseURL: 'https://api-pos.apskel.id/api/v1',
|
|
||||||
export const api = axios.create({
|
export const api = axios.create({
|
||||||
baseURL: 'http://127.0.0.1:4000/api/v1',
|
baseURL: 'https://api-pos.apskel.id/api/v1',
|
||||||
|
// baseURL: 'http://127.0.0.1:4000/api/v1',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user