From 55457afcac8607eff5212a564c77ba64a5487fcf Mon Sep 17 00:00:00 2001 From: dmolinari Date: Tue, 15 Jul 2025 13:49:46 -0300 Subject: [PATCH] Fix: Test Widgets Url --- frontend/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 761c54c..0bc0e81 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -13,7 +13,7 @@ export default defineConfig({ // Cualquier petición que empiece con /api... '/api': { // ...redirígela a nuestro backend de .NET - target: 'http://localhost:5045', // ¡USA HTTP, NO HTTPS! + target: 'https://widgets.eldia.com', //'http://localhost:5045', // Cambia el origen de la petición para que el backend la acepte changeOrigin: true, // No necesitamos reescribir la ruta, ya que el backend espera /api/...