fix: changed sms backend to use different server

This commit is contained in:
2025-10-09 13:26:36 +05:30
parent 2d434b9198
commit b63860e22e

View File

@@ -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,