Merge branch 'fix/im-0526' into msb_prod

feature/ad-0531-ch
ch 3 years ago
commit 78b693c788

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-05 14:40:00 * @Date: 2022-05-05 14:40:00
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-27 10:47:18 * @LastEditTime: 2022-05-27 18:25:28
* @Description: 根据git分支生成对应环境的环境变量 * @Description: 根据git分支生成对应环境的环境变量
* 开发时如果环境变量换了可以不用重启服务直接运行node env.config.js即可 * 开发时如果环境变量换了可以不用重启服务直接运行node env.config.js即可
*/ */
@ -21,11 +21,11 @@ const envConfig = {
}, },
beta : { beta : {
base_url: 'https://you-gateway.mashibing.com', base_url: 'https://you-gateway.mashibing.com',
imUrl : 'wss://you-gateway.mashibing.cn' imUrl : 'wss://you-gateway.mashibing.com'
}, },
prod : { prod : {
base_url: 'https://you-gateway.mashibing.com', base_url: 'https://you-gateway.mashibing.com',
imUrl : 'wss://you-gateway.mashibing.cn' imUrl : 'wss://you-gateway.mashibing.com'
} }
} }
const branch = getRepoInfo().branch; // 调用获取git信息 const branch = getRepoInfo().branch; // 调用获取git信息

Loading…
Cancel
Save