告警参数变更
This commit is contained in:
parent
4c384ec372
commit
c8685a9213
@ -1,2 +1,4 @@
|
||||
API=test.joylink.club:9081
|
||||
http=https
|
||||
API=test.joylink.club
|
||||
HTTP=https://test.joylink.club
|
||||
NS=/ncc
|
||||
WS=wss://test.joylink.club
|
||||
|
@ -1,2 +1,4 @@
|
||||
API=localhost:9081
|
||||
http=https
|
||||
HTTP=http://localhost:9081
|
||||
NS=
|
||||
WS=ws://localhost:9081
|
||||
|
@ -1,2 +1,4 @@
|
||||
API=localhost:9081
|
||||
http=https
|
||||
API=10.255.6.60:9081
|
||||
HTTP=http://
|
||||
NS=
|
||||
WS=ws://
|
||||
|
@ -9,7 +9,7 @@
|
||||
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||
"format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
|
||||
"test": "echo \"No test specified\" && exit 0",
|
||||
"dev": "set NODE_ENV=dev&&quasar dev",
|
||||
"dev": "NODE_ENV=dev&&quasar dev",
|
||||
"local": "set NODE_ENV=local&&quasar dev",
|
||||
"build": "set NODE_ENV=prod&&quasar build",
|
||||
"dev-show": "set NODE_ENV=dev-show&&quasar build",
|
||||
|
@ -6,11 +6,11 @@ function getHost(): string {
|
||||
}
|
||||
|
||||
export function getHttpBase() {
|
||||
return `http://${getHost()}`;
|
||||
return process.env.HTTP + `${getHost()}` + process.env.NS;
|
||||
}
|
||||
|
||||
export function getWebsocketUrl() {
|
||||
return `ws://${getHost()}/ws-default`;
|
||||
return process.env.WS + `${getHost()}`+ process.env.NS+'/ws-default';
|
||||
}
|
||||
|
||||
export function getShowSetAlarmTextButton() {
|
||||
|
Loading…
Reference in New Issue
Block a user