diff --git a/data/datos.db b/data/datos.db index e1ed5e7..fcb8377 100644 Binary files a/data/datos.db and b/data/datos.db differ diff --git a/frontend/js/app.js b/frontend/js/app.js index 8916a87..f06db26 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js @@ -41,6 +41,8 @@ document.addEventListener('DOMContentLoaded', function () { let configuracionGlobal = {}; + const API_URL = '/api'; + function formatearPesosSinDecimales(valor) { const numero = Number(valor); if (isNaN(numero)) return ''; diff --git a/nginx.conf b/nginx.conf index de95327..43a6f86 100644 --- a/nginx.conf +++ b/nginx.conf @@ -17,7 +17,7 @@ http { } location /api/ { - proxy_pass http://localhost:3000/; + proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;