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

This commit is contained in:
刘祥超
2023-07-31 09:55:13 +08:00
parent 45c6b2ddac
commit 547874aa43

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() err := resp.Body.Close()
if err != nil { if err != nil {
remotelogs.WarnServer("HTTP_REQUEST_REVERSE_PROXY", this.URL()+": Closing error (Page): "+err.Error()) remotelogs.WarnServer("HTTP_REQUEST_REVERSE_PROXY", this.URL()+": Closing error (Page): "+err.Error())