mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
feat: enhance template configuration and update README for translation status
This commit is contained in:
@@ -60,8 +60,10 @@ func updateConfig(c *gin.Context) (any, error) {
|
||||
}
|
||||
var userTemplateValid bool
|
||||
for _, v := range singleton.FrontendTemplates {
|
||||
if v.Path == sf.UserTemplate && sf.UserTemplate != "admin-dist" {
|
||||
if !userTemplateValid && v.Path == sf.UserTemplate && !v.IsAdmin {
|
||||
userTemplateValid = true
|
||||
}
|
||||
if userTemplateValid {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user