From ff344031a62a7216b9a662651735cc05bef90a9d Mon Sep 17 00:00:00 2001 From: PranotiPD Date: Sat, 18 May 2024 15:15:30 +0530 Subject: [PATCH] Url fix --- server/controllers/ResetPassword.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/ResetPassword.js b/server/controllers/ResetPassword.js index e78c347..8229606 100644 --- a/server/controllers/ResetPassword.js +++ b/server/controllers/ResetPassword.js @@ -27,7 +27,7 @@ exports.resetPasswordToken = async (request, response) => { { new: true } ); //Create an Url - const url = `http://localhost:3000/update-password/${token}`; + const url = `https://edtech-dev-g-frontend.vercel.app/update-password/${token}`; //Send a mail await mailSender(email, "Reset Password Link", `Link: ${url}`); //return response