fix doSitemap bug

This commit is contained in:
Michael(Zhiyi Weng)
2018-07-06 10:02:38 +08:00
parent 5f608b638d
commit 77ea01b7c1

2
xml.go
View File

@@ -83,7 +83,7 @@ func doSitemap() {
logd.Error(err)
return
}
time.AfterFunc(time.Hour*24, doFeed)
time.AfterFunc(time.Hour*24, doSitemap)
}
// 渲染 opensearch