added servername

此提交包含在:
2023-04-27 10:34:47 +05:30
父節點 6122c24472
當前提交 6e1b99ea3a
共有 6 個檔案被更改,包括 11 行新增11 行删除
+5 -5
查看文件
@@ -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 + ' <a class="validate_mail text-danger"><b>Validate Email</b></a>');
@@ -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 = {