fix: changed sms backend to use different server
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user