este agent quedo funcionando al 100 en local al menos
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import axios from 'axios';
|
||||
// forzar subida
|
||||
|
||||
const baseURL = import.meta.env.API_BASE_URL || 'http://localhost:4000'
|
||||
// const baseURL = import.meta.env.API_BASE_URL || 'https://planilla.interno.com'
|
||||
console.log(baseURL);
|
||||
|
||||
const apiClient = axios.create({
|
||||
baseURL: 'https://planilla.interno.com', // Using the container name and API port
|
||||
baseURL,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user