no message

deploy
zcy 2021-08-07 23:15:49 +08:00
parent d7272b8608
commit 672976497e
2 changed files with 2 additions and 0 deletions

View File

@ -396,6 +396,7 @@
var domain = window.location.host; var domain = window.location.host;
console.log(domain) console.log(domain)
if(domain === '127.0.0.1'){ if(domain === '127.0.0.1'){
baseUrl = 'http://127.0.0.1/api/public/';
console.log("debug mode"); console.log("debug mode");
}else{ }else{
console.log(baseUrl); console.log(baseUrl);

View File

@ -203,6 +203,7 @@
var domain = window.location.host; var domain = window.location.host;
console.log(domain) console.log(domain)
if(domain === '127.0.0.1'){ if(domain === '127.0.0.1'){
baseUrl = 'http://127.0.0.1/api/public/';
console.log("debug mode"); console.log("debug mode");
}else{ }else{
console.log(baseUrl); console.log(baseUrl);