SE MODIFICO EL API_URL

This commit is contained in:
2025-10-01 21:25:36 -06:00
parent 347d59b6c1
commit 65b641289d
4 changed files with 4 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ export default function PasswordResetConfirm() {
setLoading(true);
try {
// POST a la ruta real del backend (URL absoluta)
const apiUrl = `http://192.168.1.195:8000/api/v1/user/password-reset-confirm/${uid}/${token}/`;
const apiUrl = `${import.meta.env.VITE_EFC_API_URL}/user/password-reset-confirm/${uid}/${token}/`;
const res = await fetch(apiUrl, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },