mirror of
https://github.com/dreammis/social-auto-upload.git
synced 2026-06-04 21:03:37 +08:00
feat: 增加 env 配置
This commit is contained in:
parent
476ebc26b8
commit
e09ce3ec51
11
sau_frontend/.env.development
Normal file
11
sau_frontend/.env.development
Normal file
@ -0,0 +1,11 @@
|
||||
# 开发环境配置
|
||||
NODE_ENV=development
|
||||
|
||||
# API 基础地址
|
||||
VITE_API_BASE_URL=http://localhost:5409
|
||||
|
||||
# 应用端口
|
||||
VITE_PORT=5173
|
||||
|
||||
# 是否开启 mock
|
||||
VITE_USE_MOCK=true
|
||||
8
sau_frontend/.env.production
Normal file
8
sau_frontend/.env.production
Normal file
@ -0,0 +1,8 @@
|
||||
# 生产环境配置
|
||||
NODE_ENV=production
|
||||
|
||||
# API 基础地址
|
||||
VITE_API_BASE_URL=http://localhost:5409
|
||||
|
||||
# 是否开启 mock
|
||||
VITE_USE_MOCK=false
|
||||
Loading…
Reference in New Issue
Block a user