🎨 improve offline server detect

This commit is contained in:
naiba
2020-10-24 21:29:05 +08:00
parent 7143089dcb
commit 4ad8a7e61a
9 changed files with 242 additions and 87 deletions

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)