fix api url

This commit is contained in:
Aditya Siregar 2025-09-02 16:25:13 +07:00
parent 4f65b9bbb6
commit b8de65bdcf

View File

@ -6,7 +6,7 @@ const getToken = () => {
} }
export const api = axios.create({ export const api = axios.create({
baseURL: process.env.NEXT_PUBLIC_API_URL, baseURL: 'https://api-pos.apskel.id/api/v1',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}, },