🎉 init: 配置开发环境

This commit is contained in:
ycy 2024-05-22 14:53:27 +08:00
parent 885f631e79
commit e0ca7bfb60
3 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@ NODE_ENV=production
VITE_DEV=true
# 请求路径
VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn'
VITE_BASE_URL='http://192.168.1.14:48080'
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务
VITE_UPLOAD_TYPE=server

View File

@ -4,7 +4,7 @@ NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://localhost:48080'
VITE_BASE_URL='http://192.168.1.14:48080'
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务
VITE_UPLOAD_TYPE=server

View File

@ -24,5 +24,4 @@ const config: {
*/
default_headers: 'application/json'
}
export { config }