base url #16

Merged
aefril merged 1 commits from efril into main 2025-09-21 13:38:27 +00:00

View File

@ -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'
},