diff --git a/docker-compose.yml b/docker-compose.yml index 6999b6d..22633f6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,7 +45,7 @@ services: build: ./mcp restart: unless-stopped environment: - PLANILLA_API_URL: "http://api:4000" + PLANILLA_API_URL: "http://planilla-api:4000" depends_on: - api ports: diff --git a/ui/src/apiClient.js b/ui/src/apiClient.js index 9319cfd..6e93ec3 100644 --- a/ui/src/apiClient.js +++ b/ui/src/apiClient.js @@ -1,7 +1,7 @@ import axios from 'axios'; // forzar subida const apiClient = axios.create({ - baseURL: 'https://planilla.interno.com', // Using the container name and API port + baseURL: 'http://planilla.interno.com', // Using the container name and API port headers: { 'Content-Type': 'application/json', },