修复无法设置缓存条件的Bug

This commit is contained in:
GoEdgeLab
2021-11-04 11:12:59 +08:00
parent b157d8f7b2
commit 10af1b2c72

View File

@@ -496,7 +496,7 @@ func (this *CreateAction) RunPost(params struct {
AddStatusHeader: true,
PurgeIsOn: false,
PurgeKey: "",
CacheRefs: nil,
CacheRefs: []*serverconfigs.HTTPCacheRef{},
}
cacheConfigJSON, err := json.Marshal(cacheConfig)
if err != nil {