将全局的通用设置--域名审核设置移到“集群设置--网站设置”中

This commit is contained in:
GoEdgeLab
2023-09-18 16:07:57 +08:00
parent dc535f96b9
commit b62476b899
6 changed files with 40 additions and 73 deletions

View File

@@ -31,9 +31,6 @@ func (this *IndexAction) RunGet(params struct{}) {
valueJSON := valueJSONResp.ValueJSON
globalConfig := &serverconfigs.GlobalConfig{}
// 默认值
globalConfig.HTTPAll.DomainAuditingIsOn = false
if len(valueJSON) > 0 {
err = json.Unmarshal(valueJSON, globalConfig)
if err != nil {