mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-06-28 15:45:35 +08:00
*
This commit is contained in:
parent
25b938a7b4
commit
41004cb9ae
@ -14,7 +14,7 @@ import (
|
|||||||
//检查最新版本.
|
//检查最新版本.
|
||||||
func CheckUpdate() {
|
func CheckUpdate() {
|
||||||
|
|
||||||
resp, err := http.Get("https://api.github.com/repos/lifei6671/godoc/tags")
|
resp, err := http.Get("https://api.github.com/repos/lifei6671/mindoc/tags")
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
beego.Error("CheckUpdate => ", err)
|
beego.Error("CheckUpdate => ", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user