Browse Source

配置文件

master
songguoqiang 11 months ago
parent
commit
32058783c7
  1. 8
      .env.development
  2. 11
      .env.production
  3. 8
      .env.test

8
.env.development

@ -4,11 +4,11 @@ NODE_ENV=development
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://192.168.0.165:12080'
VITE_BASE_URL='http://192.168.0.165:25110'
# 上传路径
#VITE_UPLOAD_URL='http://localhost:12080/admin-api/spc/template-item-details/upload'
VITE_UPLOAD_URL='http://192.168.0.165:12080/admin-api/infra/file/upload'
VITE_UPLOAD_URL='http://192.168.0.165:25110/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=/dev-api
@ -32,7 +32,7 @@ VITE_SOURCEMAP=false
VITE_OUT_DIR=dist
# 自定义接口路径
VITE_INTERFACE_URL='http://localhost:12080/magic/web/index.html'
VITE_INTERFACE_URL='http://localhost:25110/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://localhost:12080'
VITE_JMREPORT_BASE_URL='http://localhost:25110'

11
.env.production

@ -4,10 +4,10 @@ NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://localhost:12080'
VITE_BASE_URL='http://192.168.20.252:26100/api'
# 上传路径
VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload'
VITE_UPLOAD_URL='http://192.168.20.252:26100/api/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
@ -28,7 +28,10 @@ VITE_SOURCEMAP=false
VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=dist-pro
VITE_OUT_DIR=dist-prod
# 自定义接口路径
VITE_INTERFACE_URL='http://192.168.20.252:26101/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25110'
VITE_JMREPORT_BASE_URL='http://192.168.20.252:26101'

8
.env.test

@ -4,10 +4,10 @@ NODE_ENV=test
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://192.168.20.252:26100/api'
VITE_BASE_URL='http://dev.ccwin-in.com:26100/api'
# 上传路径
VITE_UPLOAD_URL='http://192.168.20.252:26100/api/admin-api/infra/file/upload'
VITE_UPLOAD_URL='http://dev.ccwin-in.com:26100/api/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
@ -31,7 +31,7 @@ VITE_BASE_PATH=/
VITE_OUT_DIR=dist-test
# 自定义接口路径
VITE_INTERFACE_URL='http://192.168.20.252:26101/magic/web/index.html'
VITE_INTERFACE_URL='http://dev.ccwin-in.com:26101/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://192.168.20.252:26101'
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:26101'

Loading…
Cancel
Save