We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283d3b5 commit 933558bCopy full SHA for 933558b
frontend/src/components/Login.jsx
@@ -11,7 +11,7 @@ const Login = () => {
11
const [loading, setLoading] = useState(false); // Estado para manejar el spinner
12
const navigate = useNavigate(); // Hook para navegación
13
14
- const apiUrl = process.env.BACKEND_URL || 'http://localhost:3001';
+ const apiUrl = process.env.BACKEND_URL;
15
16
const handleSubmit = async (e) => {
17
e.preventDefault(); // Prevenir el comportamiento por defecto del formulario
0 commit comments