不是用加速地址,容易失效

This commit is contained in:
2025-11-10 19:03:39 +08:00
parent 413df78f51
commit d3e5787508
3 changed files with 3 additions and 4 deletions

View File

@@ -14,7 +14,6 @@ func Boot() {
getDev, _ := g.Cfg().GetWithEnv(gctx.New(), "dev")
if !getDev.Bool() {
url := "https://api.github.com/repos/ayflying/p2p/releases/latest"
url = "https://gh-proxy.com/" + url
var update = updateGithub.New(url)
// 每天0点检查更新
gcron.Add(gctx.New(), "0 0 0 * * *", func(ctx context.Context) {