Merge branch 'develop' of https://gitea.joylink.club/joylink/rts-sim-testing-client into develop
This commit is contained in:
commit
d7099b3163
@ -12,6 +12,7 @@
|
||||
"dev": "quasar dev",
|
||||
"build": "quasar build",
|
||||
"build:local": "URL_ENV=local_test quasar build",
|
||||
"build:pxf": "URL_ENV=local_pxf quasar build",
|
||||
"build:test": "URL_ENV=test quasar build",
|
||||
"build:publish": "URL_ENV=publish quasar build",
|
||||
"protoc": "node scripts/proto.cjs",
|
||||
|
@ -5,7 +5,12 @@ function getHost(): string {
|
||||
return 'joylink.club/bjrtsts-server';
|
||||
} else if (process.env.URL_ENV == 'local_test') {
|
||||
return '192.168.33.233:9091';
|
||||
}else if(process.env.URL_ENV == 'local_pxf'){
|
||||
//北京现场
|
||||
|
||||
return '172.29.5.168/bjrtss-server'
|
||||
}
|
||||
|
||||
// return '192.168.3.7:9091';
|
||||
// return '192.168.3.47:9091';
|
||||
// return '192.168.3.37:9091';
|
||||
@ -13,7 +18,7 @@ function getHost(): string {
|
||||
// return '192.168.33.93:9091';
|
||||
// return '192.168.3.37:9091'; //卫志宏
|
||||
// return 'test.joylink.club/bjrtsts-service'; // 测试
|
||||
return '192.168.33.233:9091';
|
||||
return '127.0.0.1:9091';
|
||||
}
|
||||
|
||||
export function getHttpBase() {
|
||||
@ -26,7 +31,7 @@ export function getHttpBase() {
|
||||
|
||||
export function getWebsocketUrl() {
|
||||
let protocol = 'ws';
|
||||
let host = '192.168.33.233';
|
||||
let host = '127.0.0.1';
|
||||
// let host = 'test.joylink.club';
|
||||
let port = '8083';
|
||||
let url = `${protocol}://${host}:${port}`;
|
||||
@ -42,6 +47,8 @@ export function getWebsocketUrl() {
|
||||
url = `${protocol}://${host}`;
|
||||
} else if (process.env.URL_ENV == 'local_test') {
|
||||
host = '192.168.33.233';
|
||||
} else if (process.env.URL_ENV == 'local_pxf') {
|
||||
host = '172.29.5.168';
|
||||
}
|
||||
|
||||
return `${url}/mqtt`;
|
||||
|
Loading…
Reference in New Issue
Block a user