From ca22cdd5550cfa0defb0f430c538698182cdaec1 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 30 十二月 2024 16:42:49 +0800 Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3 --- .env.dev | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.env.dev b/.env.dev index 82ec13b..89a15bd 100644 --- a/.env.dev +++ b/.env.dev @@ -1,15 +1,13 @@ # 开发环境:本地只启动前端项目,依赖开发环境(后端、APP) -NODE_ENV=production +NODE_ENV=development VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://localhost:48080' +VITE_BASE_URL='http://localhost' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server -# 上传路径 -VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload' # 接口地址 VITE_API_URL=/admin-api @@ -24,13 +22,13 @@ VITE_SOURCEMAP=true # 打包路径 -VITE_BASE_PATH=/plat +VITE_BASE_PATH=/plat/ # 输出路径 VITE_OUT_DIR=dist # 公共静态文件路径 -VITE_STATIC_DIR=/ +VITE_STATIC_DIR=/plat/ # 商城H5会员端域名iai VITE_MALL_H5_DOMAIN='http://' @@ -39,4 +37,4 @@ VITE_APP_CAPTCHA_ENABLE=false # MDK模型上传路径 -MDK_UPLOAD_URL='http://localhost:48080/admin-api/model//pre/item/upload-model' +MDK_UPLOAD_URL='http://localhost/admin-api/model/pre/item/upload-model' -- Gitblit v1.9.3