fix(web): 首页只留下载、去登录/在线体验入口; 下载区改二维码; 修复网络版一直提示新版本
Android Build & Publish / build-android (push) Failing after 6s
Docker Build and Push / build-image (push) Successful in 2m25s

- Landing: 移除 header 登录/进入应用按钮、hero 在线体验入口
- 下载区: 复制链接行改为 qrcode.react 二维码 (扫码下载 APK)
- 修复 '持续提示新版本可用' bug: vite 构建时把 BUILD_ID 写入 dist/.build-id,
  manifest-web 返回当前部署 dist 的 build_id, 与浏览器内置值同源比对;
  此前返回 OTA 包 build_id (seq-<ts>) 与页面 BUILD_ID 永不一致 → 横幅常驻
This commit is contained in:
jif2.zhang
2026-09-14 09:49:39 +08:00
parent 47db85d01d
commit b2db988834
5 changed files with 54 additions and 46 deletions
+2 -1
View File
@@ -23,6 +23,7 @@
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.2",
"qrcode.react": "^4.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.0",
@@ -41,4 +42,4 @@
"vite": "^5.3.3",
"vite-plugin-singlefile": "^2.0.1"
}
}
}