添加赛的专用配置
This commit is contained in:
parent
d4f919b54a
commit
62e2c3978f
|
@ -0,0 +1,9 @@
|
|||
# just a flag
|
||||
NODE_ENV = 'production'
|
||||
VUE_APP_PRO = 'common'
|
||||
|
||||
# base api
|
||||
# VUE_APP_BASE_API = 'http://160.20.60.15:9000'
|
||||
# VUE_APP_VOICE_API = 'http://160.20.60.15/oss/joylink'
|
||||
# VUE_APP_UPLOAD_API = 'http://160.20.60.15'
|
||||
# VUE_APP_BASE_SITE='http://160.20.60.15'
|
|
@ -52,6 +52,11 @@ export function handlerUrl() {
|
|||
BASE_API = 'http://160.20.60.15:9000';
|
||||
BASE_SITE = 'http://160.20.60.15';
|
||||
OSS_URL = 'https://joylink.club/oss-rtss';
|
||||
} else if (process.env.NODE_ENV === 'production' && process.env.VUE_APP_PRO === 'sai') {
|
||||
// 本地打包分支
|
||||
BASE_API = 'http://192.168.53.10/jcloud';
|
||||
BASE_SITE = 'http://192.168.53.10';
|
||||
OSS_URL = 'https://192.168.53.10/oss-rtss';
|
||||
} else if (process.env.NODE_ENV === 'production') {
|
||||
// 远程发布分支
|
||||
BASE_API = 'https://joylink.club/jlcloud';
|
||||
|
|
Loading…
Reference in New Issue