feat: Implement BolsaLocalWidget and configure API CORS

This commit is contained in:
2025-07-01 13:26:46 -03:00
parent 5e9270eda7
commit 4cfb248f54
22 changed files with 4823 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import axios from 'axios';
// Durante el desarrollo, nuestra API corre en un puerto específico (ej. 5045).
// En producción, esto debería apuntar a la URL real del servidor donde se despliegue la API.
const API_BASE_URL = 'http://localhost:5045/api';
const apiClient = axios.create({
baseURL: API_BASE_URL,
headers: {
'Content-Type': 'application/json',
},
});
export default apiClient;