From 3f9b83e41976957f87284b1f6ddf0ba2c250568f Mon Sep 17 00:00:00 2001 From: ch Date: Fri, 27 May 2022 18:25:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/env.config.js b/env.config.js index c29c073..7b95a38 100644 --- a/env.config.js +++ b/env.config.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-05-05 14:40:00 * @LastEditors: ch - * @LastEditTime: 2022-05-27 10:47:18 + * @LastEditTime: 2022-05-27 18:25:28 * @Description: 根据git分支生成对应环境的环境变量 * 开发时如果环境变量换了,可以不用重启服务,直接运行node env.config.js即可 */ @@ -21,11 +21,11 @@ const envConfig = { }, beta : { base_url: 'https://you-gateway.mashibing.com', - imUrl : 'wss://you-gateway.mashibing.cn' + imUrl : 'wss://you-gateway.mashibing.com' }, prod : { base_url: 'https://you-gateway.mashibing.com', - imUrl : 'wss://you-gateway.mashibing.cn' + imUrl : 'wss://you-gateway.mashibing.com' } } const branch = getRepoInfo().branch; // 调用获取git信息