feat: update API endpoints to use production URL and enhance UI components in authenticated routes

This commit is contained in:
2025-08-25 15:07:09 -06:00
parent 012a5a58b0
commit 602c5dbb31
5 changed files with 27 additions and 31 deletions

View File

@@ -284,7 +284,7 @@ function UploadDialog({
try {
const fileBase64 = await toBase64(file)
// Enviamos al motor (inserta en la tabla si insert=true)
const res = await fetch("http://localhost:3001/api/upload/documento", {
const res = await fetch("https://genesis-engine.apps.lci.ulsa.mx/api/upload/documento", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({