更新项目配置,添加 terser 作为压缩工具,修改 Vite 配置以支持生产环境构建,调整 API 基础地址为实际域名,并优化登录页面和游戏页面的状态管理逻辑。
This commit is contained in:
5
.env.production
Normal file
5
.env.production
Normal file
@@ -0,0 +1,5 @@
|
||||
# 生产环境API基础URL(根据实际情况选择)
|
||||
VITE_API_BASE=http://192.140.164.137:18080
|
||||
|
||||
# 前端基础URL(用于生成分享链接)
|
||||
VITE_BASE_URL=https://2.uzi0.cc/
|
||||
Reference in New Issue
Block a user