Fix: Test Widgets Url

This commit is contained in:
2025-07-15 13:49:46 -03:00
parent 2da9e17067
commit 55457afcac

View File

@@ -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/...