mirror of https://github.com/mindoc-org/mindoc.git
pull/83/merge
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