mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-27 17:15:33 +08:00
自定义页面增加是否“启用系统自定义页面”选项
This commit is contained in:
@@ -173,6 +173,7 @@ func (this *ServerConfig) Init(ctx context.Context) (results []error) {
|
||||
|
||||
// pages
|
||||
if len(groupWeb.Pages) > 0 || (groupWeb.Shutdown != nil && groupWeb.Shutdown.IsOn) {
|
||||
this.Web.EnableGlobalPages = groupWeb.EnableGlobalPages
|
||||
this.Web.Pages = groupWeb.Pages
|
||||
this.Web.Shutdown = groupWeb.Shutdown
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user