This commit is contained in:
fan 2022-06-30 18:08:51 +08:00
commit 98916ac312
2 changed files with 11 additions and 3 deletions

8
.env.local-test Normal file
View File

@ -0,0 +1,8 @@
# just a flag
NODE_ENV = 'local-test'
# base api
# VUE_APP_BASE_API = 'https://test.joylink.club/jlcloud'
# VUE_APP_VOICE_API = 'https://joylink.club/oss/joylink'
# VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
# VUE_APP_BASE_SITE='https://test.joylink.club/cbtc'

View File

@ -45,9 +45,9 @@ export function handlerUrl(data) {
UPLOAD_API = 'http://joylink.club/jlfile';
BASE_SITE = 'https://test.joylink.club/cbtc';
} else if (process.env.NODE_ENV === 'local-test') {
BASE_API = 'http://192.168.3.233:9000';
VOICE_API = 'http://192.168.3.233/oss/joylink';
UPLOAD_API = 'http://192.168.3.233';
BASE_API = 'https://192.168.3.233/rtss-server';
VOICE_API = 'https://192.168.3.233/oss/joylink';
UPLOAD_API = 'https://192.168.3.233';
BASE_SITE = '/cbtc';
} else if (process.env.NODE_ENV === 'production' && process.env.VUE_APP_PRO === 'local') {
BASE_API = 'http://160.20.60.15:9000';