base url #16
@ -5,9 +5,9 @@ const getToken = () => {
|
||||
return localStorage.getItem('authToken')
|
||||
}
|
||||
|
||||
// baseURL: 'https://api-pos.apskel.id/api/v1',
|
||||
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: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user