更新H5访问域名设置

This commit is contained in:
weipengfei 2023-10-19 16:39:44 +08:00
parent 4683324b34
commit d238f98e66

View File

@ -52,8 +52,7 @@ module.exports = {
// #ifdef H5
//H5接口是浏览器地址
HTTP_REQUEST_URL: window.location.host == 'localhost:8080' ? httpApi : window.location.protocol + "//" + window
.location.host,
HTTP_REQUEST_URL: process.env.NODE_ENV == 'development'? httpApi : window.location.protocol + "//" + window.location.host,
HTTP_REQUEST_URL_TWO: httpApiTwo,
HTTP_REQUEST_URL_FOUR: window.location.host == 'localhost:8080' ? httpApiFour :
'https://ceshi-worker-task.lihaink.cn',