chore: configure environment variables for Fengling API
This commit is contained in:
parent
9b5198f87a
commit
e5bbe101c9
@ -3,11 +3,11 @@ VITE_PORT=5777
|
||||
|
||||
VITE_BASE=/
|
||||
|
||||
# 接口地址
|
||||
VITE_GLOB_API_URL=/api
|
||||
# 接口地址 - Fengling Console Backend
|
||||
VITE_GLOB_API_URL=http://localhost:5231/api
|
||||
|
||||
# 是否开启 Nitro Mock服务,true 为开启,false 为关闭
|
||||
VITE_NITRO_MOCK=true
|
||||
VITE_NITRO_MOCK=false
|
||||
|
||||
# 是否打开 devtools,true 为打开,false 为关闭
|
||||
VITE_DEVTOOLS=false
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
VITE_BASE=/
|
||||
|
||||
# 接口地址
|
||||
VITE_GLOB_API_URL=https://mock-napi.vben.pro/api
|
||||
# 接口地址 - Fengling Console Backend (请根据实际部署环境修改)
|
||||
VITE_GLOB_API_URL=https://api.yourdomain.com/api
|
||||
|
||||
# 是否开启压缩,可以设置为 none, brotli, gzip
|
||||
VITE_COMPRESS=none
|
||||
|
||||
Loading…
Reference in New Issue
Block a user