chore(config): 添加环境配置文件并启用本地服务器API
- 新增 .env.dev 开发环境配置文件 - 新增 .env.prod 生产环境配置文件 - 在 .env.development 中启用 VITE_SERVER_API_URL 配置 - 添加租户ID、API URL和授权码等必要配置项 - 配置开发和生产环境的服务端API地址 - 统一环境变量命名规范
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
VITE_APP_NAME=后台管理(开发环境)
|
||||
#VITE_API_URL=http://127.0.0.1:9200/api
|
||||
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
||||
VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
||||
|
||||
|
||||
#VITE_API_URL=https://glt-api.websoft.top/api
|
||||
|
||||
Reference in New Issue
Block a user