更新H5访问域名设置
This commit is contained in:
parent
4683324b34
commit
d238f98e66
@ -52,8 +52,7 @@ module.exports = {
|
|||||||
|
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
//H5接口是浏览器地址
|
//H5接口是浏览器地址
|
||||||
HTTP_REQUEST_URL: window.location.host == 'localhost:8080' ? httpApi : window.location.protocol + "//" + window
|
HTTP_REQUEST_URL: process.env.NODE_ENV == 'development'? httpApi : window.location.protocol + "//" + window.location.host,
|
||||||
.location.host,
|
|
||||||
HTTP_REQUEST_URL_TWO: httpApiTwo,
|
HTTP_REQUEST_URL_TWO: httpApiTwo,
|
||||||
HTTP_REQUEST_URL_FOUR: window.location.host == 'localhost:8080' ? httpApiFour :
|
HTTP_REQUEST_URL_FOUR: window.location.host == 'localhost:8080' ? httpApiFour :
|
||||||
'https://ceshi-worker-task.lihaink.cn',
|
'https://ceshi-worker-task.lihaink.cn',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user