feat(web): landing 移除顶部下载按钮与 Web 新版本提示; 活性检查改用 /healthz
Docker Build and Push / build-image (push) Waiting to run
Android Build & Publish / build-android (push) Has been cancelled

- 顶部英雄区下载按钮与下方下载区块重复, 删除该按钮; 保留下载区块(按钮+二维码)
- Web 端访问的页面即部署版本, 不应有版本不一致提示: 移除 Landing 的 WebUpdateBanner
- index.html 响应加 Cache-Control: no-cache, no-store 兜底: 避免浏览器/代理缓存旧
  index 导致刷新后仍加载旧哈希资源, 与部署 dist 不一致
- 新增 GET /healthz 作为容器活性检查路径, Dockerfile HEALTHCHECK 从 /api/health 切换
This commit is contained in:
jif2.zhang
2026-09-15 09:25:54 +08:00
parent 65b7fbcd13
commit 7ef8fa43ea
4 changed files with 9 additions and 43 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ ENV OTA_PUBLIC_BASE=http://bh.vps.honor3.com:3002
# 健康检查
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -qO- http://127.0.0.1:3002/api/health || exit 1
CMD wget -qO- http://127.0.0.1:3002/healthz || exit 1
EXPOSE 3002