mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 07:10:27 +08:00
修改域名变更时是否需要审核的初始状态
This commit is contained in:
@@ -33,7 +33,7 @@ func (this *IndexAction) RunGet(params struct{}) {
|
|||||||
globalConfig := &serverconfigs.GlobalConfig{}
|
globalConfig := &serverconfigs.GlobalConfig{}
|
||||||
|
|
||||||
// 默认值
|
// 默认值
|
||||||
globalConfig.HTTPAll.DomainAuditingIsOn = true
|
globalConfig.HTTPAll.DomainAuditingIsOn = false
|
||||||
|
|
||||||
if len(valueJSON) > 0 {
|
if len(valueJSON) > 0 {
|
||||||
err = json.Unmarshal(valueJSON, globalConfig)
|
err = json.Unmarshal(valueJSON, globalConfig)
|
||||||
|
|||||||
Reference in New Issue
Block a user