diff --git a/glc/www/controller/storage_mnt_controller.go b/glc/www/controller/storage_mnt_controller.go index 3bd8455..f7162e1 100644 --- a/glc/www/controller/storage_mnt_controller.go +++ b/glc/www/controller/storage_mnt_controller.go @@ -139,6 +139,7 @@ func init() { glcLatest = cmn.IifStr(v != "", v, glcLatest) ticker := time.NewTicker(time.Hour) for range ticker.C { + url = "https://glc.gotoeasy.top/glogcenter/current/version.json?v=" + ver.VERSION + "&h=" + cmn.Base62Encode(cmn.StringToBytes(glcOrigin)) v = cmn.GetGlcLatestVersion(url) glcLatest = cmn.IifStr(v != "", v, glcLatest) }