feat: 检测软件更新地址需要传入变量

This commit is contained in:
hzm
2026-02-25 09:50:56 +08:00
parent 43206e816f
commit d73a9ef9fa
8 changed files with 23 additions and 3 deletions

View File

@@ -13,4 +13,10 @@ NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY=your_web3forms_access_key
# 从 Google Analytics 中获取这些值 https://analytics.google.com/analytics/web/
NEXT_PUBLIC_GA_ID=G-xxxxxxxxxx
# GitHub Release 检查配置
# 若需要在页面中展示「发现新版本」更新提示,请配置为对应仓库的最新 Release 接口地址
# 例如本仓库默认值:
# https://api.github.com/repos/hzm0321/real-time-fund/releases/latest
NEXT_PUBLIC_GITHUB_LATEST_RELEASE_URL=
# 如果要用 Github Actions 部署,需要在 Github 项目 Settings → secrets and actions → Actions → 创建 Repository secrets