Skip to content

Commit 933558b

Browse files
committed
Correcion de logica
1 parent 283d3b5 commit 933558b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/Login.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const Login = () => {
1111
const [loading, setLoading] = useState(false); // Estado para manejar el spinner
1212
const navigate = useNavigate(); // Hook para navegación
1313

14-
const apiUrl = process.env.BACKEND_URL || 'http://localhost:3001';
14+
const apiUrl = process.env.BACKEND_URL;
1515

1616
const handleSubmit = async (e) => {
1717
e.preventDefault(); // Prevenir el comportamiento por defecto del formulario

0 commit comments

Comments
 (0)