|
@@ -84,7 +84,7 @@ function initLogin() {
|
84
|
84
|
passwordInput.find("#User_password").removeClass("is-invalid");
|
85
|
85
|
passwordInput.find(".form-floating").removeClass("is-invalid");
|
86
|
86
|
if (validateEmail(userEmail)) {
|
87
|
|
- let port = "https://beta.bizgaze.app";
|
|
87
|
+ let port = SERVERNAME
|
88
|
88
|
// let port = "http://localhost:3088";
|
89
|
89
|
let url = `${port}/account/getuserbyphoneormail/${userEmail}/${userEmail}`;
|
90
|
90
|
getDataStatAxios(url, userEmail);
|
|
@@ -158,8 +158,8 @@ function initLogin() {
|
158
|
158
|
window.location.href = `/selectdelivery.html`;
|
159
|
159
|
return;
|
160
|
160
|
}
|
161
|
|
-
|
162
|
|
- window.location.href = `./index.html`;
|
|
161
|
+
|
|
162
|
+ window.location.href = `./index.html`;
|
163
|
163
|
} else {
|
164
|
164
|
$('.error_msg').show();
|
165
|
165
|
$('.error_msg .error_msg_res').html(res.data.message + ' <a class="validate_mail text-danger"><b>Validate Email</b></a>');
|
|
@@ -445,7 +445,7 @@ return
|
445
|
445
|
}
|
446
|
446
|
else{
|
447
|
447
|
debugger;
|
448
|
|
- let port = "https://beta.bizgaze.app";
|
|
448
|
+ let port = SERVERNAME
|
449
|
449
|
// let port = "http://localhost:3088";
|
450
|
450
|
let url = `${port}/account/getuserbyphoneormail/${forgot_email}/${forgot_email}`;
|
451
|
451
|
const config = {
|
|
@@ -658,7 +658,7 @@ return
|
658
|
658
|
}
|
659
|
659
|
else{
|
660
|
660
|
debugger;
|
661
|
|
- let port = "https://beta.bizgaze.app";
|
|
661
|
+ let port = SERVERNAME;
|
662
|
662
|
// let port = "http://localhost:3088";
|
663
|
663
|
let url = `${port}/account/getuserbyphoneormail/${validate_email}/${validate_email}`;
|
664
|
664
|
const config = {
|