更新生产环境配置,修改 API 基础地址为新的域名,并在 Vite 配置中添加手动分块设置以优化构建输出。

This commit is contained in:
zyh
2025-08-27 18:56:12 +08:00
parent 1c08651831
commit 2a2ea19f0f
9 changed files with 460 additions and 2 deletions

8
_redirects Normal file
View File

@@ -0,0 +1,8 @@
# Netlify _redirects 文件
# 放置在 dist 目录下
# API 代理
/api/* http://192.140.164.137:18080/:splat 200
# SPA 路由回退
/* /index.html 200