2023-12-07 20:43:58 +08:00
|
|
|
|
# 生产环境:只在打包时使用
|
2023-02-11 00:44:00 +08:00
|
|
|
|
NODE_ENV=production
|
|
|
|
|
|
|
|
|
|
VITE_DEV=false
|
|
|
|
|
|
|
|
|
|
# 请求路径
|
2024-08-22 11:54:42 +08:00
|
|
|
|
VITE_BASE_URL='https://mt.ptzykjgs.com'
|
2023-02-11 00:44:00 +08:00
|
|
|
|
|
2024-02-04 19:41:48 +08:00
|
|
|
|
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
|
|
|
|
|
VITE_UPLOAD_TYPE=server
|
2023-02-11 00:44:00 +08:00
|
|
|
|
# 上传路径
|
2024-08-22 11:54:42 +08:00
|
|
|
|
VITE_UPLOAD_URL='https://mt.ptzykjgs.com/admin-api/infra/file/upload'
|
2023-02-11 00:44:00 +08:00
|
|
|
|
|
|
|
|
|
# 接口地址
|
|
|
|
|
VITE_API_URL=/admin-api
|
|
|
|
|
|
|
|
|
|
# 是否删除debugger
|
|
|
|
|
VITE_DROP_DEBUGGER=true
|
|
|
|
|
|
|
|
|
|
# 是否删除console.log
|
|
|
|
|
VITE_DROP_CONSOLE=true
|
|
|
|
|
|
|
|
|
|
# 是否sourcemap
|
|
|
|
|
VITE_SOURCEMAP=false
|
|
|
|
|
|
|
|
|
|
# 打包路径
|
2024-08-22 11:54:42 +08:00
|
|
|
|
VITE_BASE_PATH=/admin
|
2023-02-11 00:44:00 +08:00
|
|
|
|
|
|
|
|
|
# 输出路径
|
2023-12-07 20:43:58 +08:00
|
|
|
|
VITE_OUT_DIR=dist-prod
|
|
|
|
|
|
|
|
|
|
# 商城H5会员端域名
|
|
|
|
|
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
|
2024-08-22 11:54:42 +08:00
|
|
|
|
|
|
|
|
|
# 验证码的开关
|
|
|
|
|
VITE_APP_CAPTCHA_ENABLE=false
|