“集群设置 -- 网站设置”增加“允许记录访问日志”选项

This commit is contained in:
GoEdgeLab
2023-07-05 15:29:11 +08:00
parent 0c81fd5090
commit 1b70824e0d
4 changed files with 7 additions and 7 deletions

View File

@@ -60,7 +60,7 @@ func (this *NodeCluster) DecodeClock() *nodeconfigs.ClockConfig {
// DecodeGlobalServerConfig 解析全局服务配置
func (this *NodeCluster) DecodeGlobalServerConfig() *serverconfigs.GlobalServerConfig {
var config = serverconfigs.DefaultGlobalServerConfig()
var config = serverconfigs.NewGlobalServerConfig()
if IsNotNull(this.GlobalServerConfig) {
err := json.Unmarshal(this.GlobalServerConfig, config)
if err != nil {