前端项目初始化提交
This commit is contained in:
10
.env.development
Normal file
10
.env.development
Normal file
@@ -0,0 +1,10 @@
|
||||
# 开发环境配置
|
||||
# API基础路径(开发环境通常通过Vite代理)
|
||||
VITE_API_BASE_URL=/api
|
||||
VITE_EXAM_API_BASE_URL=/api
|
||||
|
||||
# 后端服务地址(仅用于直接访问,非代理模式)
|
||||
VITE_BACKEND_URL=http://localhost:8080
|
||||
|
||||
# 是否使用代理模式(开发环境=true,生产环境=false)
|
||||
VITE_USE_PROXY=true
|
||||
Reference in New Issue
Block a user