diff --git a/config/app.js b/config/app.js index f25e39c..72b12bf 100644 --- a/config/app.js +++ b/config/app.js @@ -54,13 +54,7 @@ module.exports = { //H5接口是浏览器地址 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', - - HTTP_REQUEST_URL_FOUR: window.location.host == 'test.shop.lihaink.cn' ? 'https://preview-worker-task.lihaink.cn' : 'https://ceshi-worker-task.lihaink.cn', - - HTTP_REQUEST_URL_FOUR: window.location.host == 'shop.lihaink.cn' ? 'https://worker-task.lihaink.cn' : - 'https://preview-worker-task.lihaink.cn', + HTTP_REQUEST_URL_FOUR: window.location.host == 'shop.lihaink.cn' ?'https://worker-task.lihaink.cn':window.location.host == 'test.shop.lihaink.cn'?'https://preview-worker-task.lihaink.cn':'https://ceshi-worker-task.lihaink.cn', // 聊天长连接地址 VUE_APP_WS_URL: wsApi ? `${wsApi}?type=user` : VUE_APP_WS_URL,