este agent quedo funcionando al 100 en local al menos
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 48s
build-and-deploy / deploy (push) Successful in 27s

This commit is contained in:
2025-06-06 14:56:44 -06:00
parent 0ecb80d45a
commit b751cb2911
17 changed files with 315 additions and 59 deletions

12
ui/package-lock.json generated
View File

@@ -10,6 +10,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.1.7",
"axios": "^1.9.0",
"dotenv": "^16.5.0",
"pinia": "^3.0.2",
"vue": "^3.5.13",
"vue-router": "^4.5.1"
@@ -1836,6 +1837,17 @@
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
}
},
"node_modules/dotenv": {
"version": "16.5.0",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.5.0.tgz",
"integrity": "sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://dotenvx.com"
}
},
"node_modules/dunder-proto": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",

View File

@@ -12,6 +12,7 @@
"dependencies": {
"@tailwindcss/vite": "^4.1.7",
"axios": "^1.9.0",
"dotenv": "^16.5.0",
"pinia": "^3.0.2",
"vue": "^3.5.13",
"vue-router": "^4.5.1"

View File

@@ -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',
},