diff --git a/src/components/ForgotPasswordVerifyCode/ForgotPasswordVerifyCode.tsx b/src/components/ForgotPasswordVerifyCode/ForgotPasswordVerifyCode.tsx index 7d82abb..0dc1560 100644 --- a/src/components/ForgotPasswordVerifyCode/ForgotPasswordVerifyCode.tsx +++ b/src/components/ForgotPasswordVerifyCode/ForgotPasswordVerifyCode.tsx @@ -88,7 +88,7 @@ const ForgotPasswordVerifyCode: React.FC = () => { try { setIsSubmitting(true); - const apiUrl = "http://localhost:5005/api/recovery/reset-password"; + const apiUrl = `${import.meta.env.VITE_API_URL}/recovery/reset-password`; const response = await axios.post(apiUrl, { email,