🎨 improve offline server detect

This commit is contained in:
naiba
2020-10-24 21:29:05 +08:00
parent 024a11bcd0
commit f2c304e396
9 changed files with 242 additions and 87 deletions
-1
View File
@@ -29,7 +29,6 @@ func (cp *commonPage) home(c *gin.Context) {
dao.ServerLock.RLock()
defer dao.ServerLock.RUnlock()
data := gin.H{
"Domain": dao.Conf.Site.Domain,
"Servers": dao.ServerList,
}
u, ok := c.Get(model.CtxKeyAuthorizedUser)