diff --git a/.env.development b/.env.development index 661e703..1fcbce6 100644 --- a/.env.development +++ b/.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' \ No newline at end of file +VITE_JMREPORT_BASE_URL='http://localhost:25110' \ No newline at end of file diff --git a/.env.production b/.env.production index 8e25d23..7ad38f8 100644 --- a/.env.production +++ b/.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' \ No newline at end of file diff --git a/.env.test b/.env.test index f14a81a..c556152 100644 --- a/.env.test +++ b/.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'