mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-26 23:16:35 +08:00
优化代码/商业版支持L2节点
This commit is contained in:
@@ -445,7 +445,7 @@ func (this *HTTPWriter) PrepareWebP(resp *http.Response, size int64) {
|
||||
}
|
||||
|
||||
// 集群配置
|
||||
var policy = sharedNodeConfig.FindWebPImagePolicyWithClusterId(this.req.ReqServer.ClusterId)
|
||||
var policy = this.req.nodeConfig.FindWebPImagePolicyWithClusterId(this.req.ReqServer.ClusterId)
|
||||
if policy == nil {
|
||||
policy = nodeconfigs.DefaultWebPImagePolicy
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user