From 272c38a78fd2755c11b881de8f448d80d2bd89f3 Mon Sep 17 00:00:00 2001 From: wuhongjian Date: Wed, 15 Jun 2022 12:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/public/index.html | 18 +++++++++--------- front/src/config/default/setting.config.js | 7 ++----- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/front/public/index.html b/front/public/index.html index 8cdda0a8..4c6c9c1f 100644 --- a/front/public/index.html +++ b/front/public/index.html @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-03-29 16:45:25 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-06-09 10:30:15 + * @LastEditTime: 2022-06-15 09:28:40 * @Description: 告诉大家这是什么 --> @@ -39,15 +39,15 @@ // window.SITE_CONFIG['apiURL'] = 'http://15.72.183.90:8000/renren-admin'; - window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797'; - window.SITE_CONFIG['previewUrl'] = 'http://localhost:8080/'; - window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/'; - window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin'; + // window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797'; + // window.SITE_CONFIG['previewUrl'] = 'http://localhost:8080/'; + // window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/'; + // window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin'; // 穿透版本 - // window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797'; - // window.SITE_CONFIG['previewUrl'] = 'http://124.222.94.39:9796/'; - // window.SITE_CONFIG['frontUrl'] = 'http://124.222.94.39:9796/document/#/devModelFile/'; - // window.SITE_CONFIG['apiURL'] = 'http://124.222.94.39:8888/renren-admin'; + window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797'; + window.SITE_CONFIG['previewUrl'] = 'http://124.222.94.39:9796/'; + window.SITE_CONFIG['frontUrl'] = 'http://124.222.94.39:9796/document/#/devModelFile/'; + window.SITE_CONFIG['apiURL'] = 'http://124.222.94.39:8888/renren-admin'; diff --git a/front/src/config/default/setting.config.js b/front/src/config/default/setting.config.js index c2369cc2..f5869557 100644 --- a/front/src/config/default/setting.config.js +++ b/front/src/config/default/setting.config.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2022-03-29 17:48:03 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-06-06 12:57:06 + * @LastEditTime: 2022-06-15 11:18:21 * @Description: 告诉大家这是什么 */ /** @@ -23,10 +23,7 @@ const setting = { // baseURL: 'mock-server', // 请求接口 // 丁港 - baseURL: - process.env.NODE_ENV === 'development' - ? 'http://15.2.21.238:8888/renren-admin' - : '', + baseURL: 'http://124.222.94.39:8888/renren-admin', // : 'http://15.2.21.238:8888/renren-admin/', // 'http://15.72.183.90:8000/renren-admin', // 黄工