🎨 improve offline server detect

This commit is contained in:
naiba committed 2020-10-24 21:29:05 +08:00
1 parent 024a11bcd0
commit f2c304e396
9 files changed
+242 -87

No files matched your search

-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)