Merge pull request 'base url' (#11) from efril into main

Reviewed-on: https://gits.altru.id/ferdiansyah/pos-dashboard-v2/pulls/11
This commit is contained in:
aefril 2025-09-13 09:59:07 +00:00
commit 54d8ff3444

View File

@ -6,7 +6,7 @@ const getToken = () => {
} }
export const api = axios.create({ export const api = axios.create({
baseURL: 'http://127.0.0.1:4000/api/v1', baseURL: 'https://enaklo-pos-be.altru.id/api/v1',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}, },