Check Studio health on an explicit API route
studio CI and deployment / verify-and-deploy (push) Successful in 7m56s

This commit is contained in:
2026-10-25 22:10:57 +08:00
parent b943951bed
commit eb41d7d524
4 changed files with 8 additions and 2 deletions
+4
View File
@@ -43,3 +43,7 @@
- `apps/wiki/src/pages/explore/`:新增或更新统一 ID 页面、纯文本模式、分类、旧地址跳转或轻量预览 API。
- `apps/wiki/tests/explore.test.ts`:验证稳定 ID、纯文本响应、图片体积与缓存、旧文档引用及集成行为。
- `apps/wiki/tests/preview.test.ts`:验证稳定 ID、纯文本响应、图片体积与缓存、旧文档引用及集成行为。
- `apps/studio/src/pages/api/health.ts`:新增明确的健康检查接口,避免把 API 目录的 index 文件错误理解为 /api/index 路由。
- `scripts/deploy-studio.sh`:健康检查修正为 `/studio/api/health`。
- `apps/studio/src/pages/index.tsx`:AI 索引入口修正为实际 `/studio/api`。