fix: 修改get_host_url
This commit is contained in:
parent
34835be268
commit
fbc5573703
|
@ -83,7 +83,7 @@ function get_api_url(){
|
|||
|
||||
function get_host_url(){
|
||||
if(process.env.NODE_ENV === 'development'){
|
||||
return process.env.VUE_APP_API_BASEURL
|
||||
return process.env.VUE_APP_BASEURL
|
||||
}
|
||||
return 'http://' + window.location.host
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue