修复集群自定义页面设置无法生效的问题

This commit is contained in:
GoEdgeLab
2023-07-31 09:55:13 +08:00
parent de2b0959b5
commit 7adbb451b0

View File

@@ -404,7 +404,7 @@ func (this *HTTPRequest) doOriginRequest(failedOriginIds []int64, failedLnNodeId
}
// 特殊页面
if len(this.web.Pages) > 0 && this.doPage(resp.StatusCode) {
if this.doPage(resp.StatusCode) {
err := resp.Body.Close()
if err != nil {
remotelogs.WarnServer("HTTP_REQUEST_REVERSE_PROXY", this.URL()+": Closing error (Page): "+err.Error())