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', // 黄工