前端项目初始化提交
This commit is contained in:
14
.env.production
Normal file
14
.env.production
Normal file
@@ -0,0 +1,14 @@
|
||||
# 生产环境配置
|
||||
# API基础路径
|
||||
VITE_API_BASE_URL=/api
|
||||
|
||||
# Exam API路径(根据Nginx配置调整)
|
||||
# 如果Nginx已配置 /exam/ 代理,则留空:VITE_EXAM_API_BASE_URL=
|
||||
# 如果Nginx未配置,需要通过api代理:VITE_EXAM_API_BASE_URL=/api
|
||||
VITE_EXAM_API_BASE_URL=/api
|
||||
|
||||
# 后端服务地址(生产环境通常不需要)
|
||||
VITE_BACKEND_URL=
|
||||
|
||||
# 是否使用代理模式(生产环境=false)
|
||||
VITE_USE_PROXY=false
|
||||
Reference in New Issue
Block a user