Fix: Test Widgets Url
This commit is contained in:
@@ -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/...
|
||||
|
||||
Reference in New Issue
Block a user