添加北京现场打包脚本及地址
This commit is contained in:
parent
f0db718c54
commit
c3fc0c18e6
@ -12,6 +12,7 @@
|
|||||||
"dev": "quasar dev",
|
"dev": "quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"build:local": "URL_ENV=local_test quasar build",
|
"build:local": "URL_ENV=local_test quasar build",
|
||||||
|
"build:local-pxf": "URL_ENV=local_pxf quasar build",
|
||||||
"build:test": "URL_ENV=test quasar build",
|
"build:test": "URL_ENV=test quasar build",
|
||||||
"build:publish": "URL_ENV=publish quasar build",
|
"build:publish": "URL_ENV=publish quasar build",
|
||||||
"protoc": "node scripts/proto.cjs",
|
"protoc": "node scripts/proto.cjs",
|
||||||
|
@ -5,7 +5,11 @@ function getHost(): string {
|
|||||||
return 'joylink.club/bjrtsts-server';
|
return 'joylink.club/bjrtsts-server';
|
||||||
} else if (process.env.URL_ENV == 'local_test') {
|
} else if (process.env.URL_ENV == 'local_test') {
|
||||||
return '192.168.33.233:9091';
|
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.7:9091';
|
||||||
// return '192.168.3.47:9091';
|
// return '192.168.3.47:9091';
|
||||||
// return '192.168.3.37:9091';
|
// return '192.168.3.37:9091';
|
||||||
@ -13,7 +17,7 @@ function getHost(): string {
|
|||||||
// return '192.168.33.93:9091';
|
// return '192.168.33.93:9091';
|
||||||
// return '192.168.3.37:9091'; //卫志宏
|
// return '192.168.3.37:9091'; //卫志宏
|
||||||
// return 'test.joylink.club/bjrtsts-service'; // 测试
|
// return 'test.joylink.club/bjrtsts-service'; // 测试
|
||||||
return '192.168.33.233:9091';
|
return '127.0.0.1:9091';
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getHttpBase() {
|
export function getHttpBase() {
|
||||||
@ -26,7 +30,7 @@ export function getHttpBase() {
|
|||||||
|
|
||||||
export function getWebsocketUrl() {
|
export function getWebsocketUrl() {
|
||||||
let protocol = 'ws';
|
let protocol = 'ws';
|
||||||
let host = '192.168.33.233';
|
let host = '127.0.0.1';
|
||||||
// let host = 'test.joylink.club';
|
// let host = 'test.joylink.club';
|
||||||
let port = '8083';
|
let port = '8083';
|
||||||
let url = `${protocol}://${host}:${port}`;
|
let url = `${protocol}://${host}:${port}`;
|
||||||
@ -42,6 +46,8 @@ export function getWebsocketUrl() {
|
|||||||
url = `${protocol}://${host}`;
|
url = `${protocol}://${host}`;
|
||||||
} else if (process.env.URL_ENV == 'local_test') {
|
} else if (process.env.URL_ENV == 'local_test') {
|
||||||
host = '192.168.33.233';
|
host = '192.168.33.233';
|
||||||
|
} else if (process.env.URL_ENV == 'local_pxf') {
|
||||||
|
host = '172.29.5.168';
|
||||||
}
|
}
|
||||||
|
|
||||||
return `${url}/mqtt`;
|
return `${url}/mqtt`;
|
||||||
|
Loading…
Reference in New Issue
Block a user