code added
Cette révision appartient à :
Externe
+12
-7
@@ -1,10 +1,15 @@
|
||||
//let SERVERNAME = 'https://anwi.bizgaze.app';
|
||||
let SERVERNAME = 'http://beta.bizgaze.com';
|
||||
const STAT = 'b276960fddf84e8cb63de6e32d31529b';
|
||||
//let SERVERNAME = 'http://beta.bizgaze.com';
|
||||
let SERVERNAME = 'http://localhost:3088';
|
||||
|
||||
//template
|
||||
const STAT = '8041f78ba55b4847bc4aacaeae9d24ef';
|
||||
|
||||
//live
|
||||
//const STAT = '0c7ef2b000ca431290065753dfda56fe';
|
||||
|
||||
function imgServerNameBuild(path){
|
||||
return `${SERVERNAME}/${path}`;
|
||||
return `https://appassets.bizgaze.app/${path}`;
|
||||
}
|
||||
|
||||
|
||||
@@ -54,10 +59,10 @@ async function postAPIService(url,data={}){
|
||||
url:`${SERVERNAME}/${url}`,
|
||||
method:'post',
|
||||
data:data,
|
||||
headers: {
|
||||
'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
// headers: {
|
||||
// 'Authorization': `Basic b67607dd-283e-478e-b2cf-35736e8bad69`,
|
||||
// 'Content-Type': 'application/json'
|
||||
// },
|
||||
}
|
||||
let response = await axios(config);
|
||||
|
||||
|
||||
Externe
@@ -107,6 +107,8 @@ function initLogin() {
|
||||
$('.error_msg').show();
|
||||
$('.error_msg .error_msg_res').html(`User doesn't exists with the email, <a href="#" class="alert-link register_sectionbtn" id="register_sectionbtn">Sign Up </a>`);
|
||||
$(".register_sectionbtn").click(function(){
|
||||
|
||||
|
||||
$(".login_section").css("display","none");
|
||||
$(".register_section").css("display","block");
|
||||
$(".login_section").find("#User_Email").removeClass("is-invalid");
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur