diff --git a/src/controllers/otp.controller.js b/src/controllers/otp.controller.js index 33cc689..d4a3d79 100644 --- a/src/controllers/otp.controller.js +++ b/src/controllers/otp.controller.js @@ -105,7 +105,7 @@ async function SendOtp(req, res) { // Call SMS API const response = await axios.post( - 'http://localhost:9999/api/SendtoMessage', + 'http://192.168.1.77:9999/api/SendtoMessage', { mobileNumber, stMessage: message, @@ -171,7 +171,7 @@ async function sendForSetPassword(req, res) { const otp = generateOTP(6); const message = templates.CHANGE_LPWORD(otp); const response = await axios.post( - 'http://localhost:9999/api/SendtoMessage', + 'http://192.168.1.77:9999/api/SendtoMessage', { mobileNumber, stMessage: message,