mirror of
https://gitee.com/elegant_wings/dbd-meeting-html.git
synced 2025-06-21 05:39:36 +08:00
修改配置文件
This commit is contained in:
parent
45ee4039af
commit
52597044c2
5
.env
5
.env
@ -1,4 +1 @@
|
|||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
VUE_APP_PREVIEW=false
|
|
||||||
VUE_APP_API_BASE_URL=/api
|
|
||||||
VUE_APP_MODEL_BASE_URL=https://www.chuangzhikj.com/saas-ics
|
|
@ -1,4 +1,4 @@
|
|||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
VUE_APP_PREVIEW=true
|
VUE_APP_PREVIEW=false
|
||||||
VUE_APP_API_BASE_URL=https://company.haxy.com.cn:4443/shoot-hand
|
VUE_APP_API_BASE_URL=https://company.haxy.com.cn:4443/shoot-hand
|
||||||
VUE_APP_MODEL_BASE_URL=https://company.haxy.com.cn:4443/shoot-hand
|
VUE_APP_MODEL_BASE_URL=https://company.haxy.com.cn:4443/shoot-hand
|
@ -4,7 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
|
"serve": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
|
||||||
"build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
"build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode preview",
|
||||||
"report": "vue-cli-service build --report",
|
"report": "vue-cli-service build --report",
|
||||||
"build:preview": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode preview",
|
"build:preview": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode preview",
|
||||||
"lint": "vue-cli-service lint",
|
"lint": "vue-cli-service lint",
|
||||||
|
@ -110,8 +110,8 @@ const vueConfig = {
|
|||||||
port: 8000,
|
port: 8000,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://192.168.0.30:9227',
|
target: 'http://127.0.0.1:9227',
|
||||||
// target: 'https://company.haxy.com.cn:4443/shoot-hand',
|
//target: 'https://company.haxy.com.cn:4443/shoot-hand',
|
||||||
pathRewrite: { '^/api': '' },
|
pathRewrite: { '^/api': '' },
|
||||||
ws: false,
|
ws: false,
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user