☁️ origin

This commit is contained in:
微凉
2021-01-12 14:58:33 +08:00
parent 858291876b
commit 434eb25408
4 changed files with 17 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ type GithubRelease struct {
}
func CheckUpdate() {
log.Infof("检查更新...")
url:="https://api.github.com/repos/Xhofe/alist/releases/latest"
resp,err:=http.Get(url)
if err!=nil {