Correción de Rutas.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build and Deploy / remote-build-and-deploy (push) Successful in 13m17s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build and Deploy / remote-build-and-deploy (push) Successful in 13m17s
				
			This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| import axios from 'axios'; | ||||
|  | ||||
| // Obtén la URL base de tu API desde variables de entorno o configúrala aquí | ||||
| // Asegúrate que coincida con la URL donde corre tu API ASP.NET Core | ||||
| const API_BASE_URL = 'http://localhost:5183/api'; // ¡AJUSTA EL PUERTO SI ES DIFERENTE! (Verifica la salida de 'dotnet run') | ||||
| // Vite reemplazará import.meta.env.VITE_API_BASE_URL con el valor del .env | ||||
| // durante la compilación. Si no está definida, usará la URL de desarrollo. | ||||
| const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:5183/api'; | ||||
|  | ||||
| const apiClient = axios.create({ | ||||
|   baseURL: API_BASE_URL, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user