From d238f98e66ca81f68982eb4a5681e21f524af490 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 19 Oct 2023 16:39:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0H5=E8=AE=BF=E9=97=AE=E5=9F=9F?= =?UTF-8?q?=E5=90=8D=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/app.js b/config/app.js index 2df82ac..f25e39c 100644 --- a/config/app.js +++ b/config/app.js @@ -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',