本地发布调整
This commit is contained in:
parent
b0b0074608
commit
f0db7a70ab
@ -10,7 +10,7 @@
|
||||
"format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
|
||||
"test": "echo \"No test specified\" && exit 0",
|
||||
"dev": "quasar dev",
|
||||
"build": "quasar build",
|
||||
"build": "set NODE_ENV=local_test&&quasar build",
|
||||
"build:test": "set NODE_ENV=test&&quasar build",
|
||||
"build:publish": "set NODE_ENV=publish&&quasar build",
|
||||
"protoc": "node scripts/proto.cjs",
|
||||
|
@ -3,6 +3,8 @@ function getHost(): string {
|
||||
return 'test.joylink.club/bjrtsts-server';
|
||||
} else if (process.env.ENV_MODE == 'publish') {
|
||||
return 'joylink.club/bjrtsts-server';
|
||||
} else if (process.env.NODE_ENV == 'local_test') {
|
||||
return '192.168.33.233:9091';
|
||||
}
|
||||
// return '192.168.3.7:9091';
|
||||
// return '192.168.3.47:9091';
|
||||
|
Loading…
Reference in New Issue
Block a user