|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-05-05 14:40:00
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-05-23 21:15:35
|
|
|
|
|
* @LastEditTime: 2022-05-26 19:04:26
|
|
|
|
|
* @Description: 根据git分支生成对应环境的环境变量
|
|
|
|
|
* 开发时如果环境变量换了,可以不用重启服务,直接运行node env.config.js即可
|
|
|
|
|
*/
|
|
|
|
@ -12,18 +12,22 @@ const path = require('path');
|
|
|
|
|
const envConfig = {
|
|
|
|
|
dev : {
|
|
|
|
|
baseUrl: 'https://k8s-horse-gateway.mashibing.cn',
|
|
|
|
|
staticUrl : 'https://k8s-shop-app.mashibing.cn',
|
|
|
|
|
imUrl : 'wss://k8s-horse-gateway.mashibing.cn'
|
|
|
|
|
},
|
|
|
|
|
test : {
|
|
|
|
|
baseUrl: 'https://k8s-horse-gateway.mashibing.cn',
|
|
|
|
|
staticUrl : 'https://k8s-shop-app.mashibing.cn',
|
|
|
|
|
imUrl : 'wss://k8s-horse-gateway.mashibing.cn'
|
|
|
|
|
},
|
|
|
|
|
beta : {
|
|
|
|
|
baseUrl: 'https://you-gateway.mashibing.com',
|
|
|
|
|
staticUrl : 'https://you-app.mashibing.com',
|
|
|
|
|
imUrl : 'wss://you-gateway.mashibing.com'
|
|
|
|
|
},
|
|
|
|
|
prod : {
|
|
|
|
|
baseUrl: 'https://you-gateway.mashibing.com',
|
|
|
|
|
staticUrl : 'https://you-app.mashibing.com',
|
|
|
|
|
imUrl : 'wss://you-gateway.mashibing.com'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|