mirror of
https://github.com/ayflying/p2p.git
synced 2026-03-04 17:29:22 +00:00
不是用加速地址,容易失效
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user