From 5001e203291029eea2534d1d5e4976cea84d8172 Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Mon, 23 Oct 2023 08:54:52 +0800 Subject: [PATCH] =?UTF-8?q?api=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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,