fix(deploy): 修复容器部署时根路径返回 JSON 而非前端页面
- root() 增加 frontend/dist/ 存在性检查
- 容器部署时返回 index.html,本地开发时返回 JSON 健康检查
- 解决 @app.get("/") 精确匹配抢占 SPA 回退路由的问题
Co-Authored-By:
Claude <noreply@anthropic.com>
正在显示
此差异已折叠。
请
注册
或者
登录
后发表评论
- root() 增加 frontend/dist/ 存在性检查
- 容器部署时返回 index.html,本地开发时返回 JSON 健康检查
- 解决 @app.get("/") 精确匹配抢占 SPA 回退路由的问题
Co-Authored-By:
Claude <noreply@anthropic.com>