diff --git a/dist/Js/auth/login.js b/dist/Js/auth/login.js index 912ece6..158bd8e 100644 --- a/dist/Js/auth/login.js +++ b/dist/Js/auth/login.js @@ -84,7 +84,7 @@ function initLogin() { passwordInput.find("#User_password").removeClass("is-invalid"); passwordInput.find(".form-floating").removeClass("is-invalid"); if (validateEmail(userEmail)) { - let port = "https://beta.bizgaze.app"; + let port = SERVERNAME // let port = "http://localhost:3088"; let url = `${port}/account/getuserbyphoneormail/${userEmail}/${userEmail}`; getDataStatAxios(url, userEmail); @@ -158,8 +158,8 @@ function initLogin() { window.location.href = `/selectdelivery.html`; return; } - - window.location.href = `./index.html`; + + window.location.href = `./index.html`; } else { $('.error_msg').show(); $('.error_msg .error_msg_res').html(res.data.message + ' Validate Email'); @@ -445,7 +445,7 @@ return } else{ debugger; - let port = "https://beta.bizgaze.app"; + let port = SERVERNAME // let port = "http://localhost:3088"; let url = `${port}/account/getuserbyphoneormail/${forgot_email}/${forgot_email}`; const config = { @@ -658,7 +658,7 @@ return } else{ debugger; - let port = "https://beta.bizgaze.app"; + let port = SERVERNAME; // let port = "http://localhost:3088"; let url = `${port}/account/getuserbyphoneormail/${validate_email}/${validate_email}`; const config = { diff --git a/dist/Js/myaccount/myaccount_warrenty.js b/dist/Js/myaccount/myaccount_warrenty.js index 3e8cfff..97ebed3 100644 --- a/dist/Js/myaccount/myaccount_warrenty.js +++ b/dist/Js/myaccount/myaccount_warrenty.js @@ -17,7 +17,7 @@ $('.warranty_serialNumber_submit').click(async function () { $('.error_phonenumber').addClass('d-none'); $('#Add_serial_number_inp').removeClass('border-danger') $('#Add_phonenumber_inp').removeClass('border-danger'); - let port = "https://anwi.bizgaze.app"; + let port = SERVERNAME; debugger let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`; console.log(url); diff --git a/dist/Js/myaccount/orderdetails.js b/dist/Js/myaccount/orderdetails.js index 6c1aa89..c75aa5f 100644 --- a/dist/Js/myaccount/orderdetails.js +++ b/dist/Js/myaccount/orderdetails.js @@ -1,7 +1,7 @@ async function bindOrderDetails() { let user_number =$('.User_phoneum').text(); // validatesession() -let port = "https://anwi.bizgaze.app"; +let port = SERVERNAME; // let port = "http://localhost:3088"; let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`; const config = { diff --git a/dist/Js/orderDetails/order_summary.js b/dist/Js/orderDetails/order_summary.js index c8e3875..f887bca 100644 --- a/dist/Js/orderDetails/order_summary.js +++ b/dist/Js/orderDetails/order_summary.js @@ -1,7 +1,7 @@ async function order_summary(){ let current_orderSerialDate =window.localStorage.getItem('orderSerialno'); let user_number =window.localStorage.getItem('Userphonenumber'); -let port = "https://anwi.bizgaze.app"; +let port = SERVERNAME; // let port = "http://localhost:3088"; let url = `${port}/apis/v4/bizgaze/integrations/products/salesorderdetailsbyphonenumber/phonenumber/${user_number}`; const config = { diff --git a/dist/Js/product.js b/dist/Js/product.js index 0557087..bee4900 100644 --- a/dist/Js/product.js +++ b/dist/Js/product.js @@ -45,7 +45,7 @@ async function getDataStatAxios(url) { }) }); } -let port = `https://anwi.bizgaze.app` +let port = SERVERNAME let loc_id = window.location.search; let loc_url = loc_id.split("="); let locpath = "/products.html?products"; diff --git a/dist/Js/warranty.js b/dist/Js/warranty.js index 446bb85..d7258b0 100644 --- a/dist/Js/warranty.js +++ b/dist/Js/warranty.js @@ -15,7 +15,7 @@ function wattantyFunction() { $(".error_phonenumber").addClass("d-none"); $("#Add_serial_number_inp").removeClass("border-danger"); $("#Add_phonenumber_inp").removeClass("border-danger"); - let port = "https://anwi.bizgaze.app"; + let port = SERVERNAME debugger; let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`; console.log(url); @@ -80,7 +80,7 @@ function wattantyFunction() { if (serial_no_inp != "") { $(".error_serial_num").addClass("d-none"); $("#Add_serial_number_inp").removeClass("border-danger"); - let port = "https://anwi.bizgaze.app"; + let port = SERVERNAME debugger; let url = `${port}/apis/v4/Bizgaze/integrations/products/warrantyservice/serialno/${serial_no_inp}`; console.log(url);