🚸 增强面板自定义CSS功能

This commit is contained in:
naiba
2020-12-24 09:54:17 +08:00
parent bb3829462d
commit 76c789efd8
7 changed files with 44 additions and 20 deletions

View File

@@ -27,8 +27,8 @@ func (cp *commonPage) home(c *gin.Context) {
dao.ServerLock.RLock()
defer dao.ServerLock.RUnlock()
data := gin.H{
"Servers": dao.ServerList,
"CustomCSS": dao.Conf.Site.CustomCSS,
"Servers": dao.ServerList,
"CustomCode": dao.Conf.Site.CustomCode,
}
u, ok := c.Get(model.CtxKeyAuthorizedUser)
if ok {