From fda85d706c2317cbdaec6cd30d966b624842192c Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Thu, 7 Sep 2023 15:10:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request_mismatch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/http_request_mismatch.go b/internal/nodes/http_request_mismatch.go index a6d5db0..acad224 100644 --- a/internal/nodes/http_request_mismatch.go +++ b/internal/nodes/http_request_mismatch.go @@ -72,7 +72,7 @@ func (this *HTTPRequest) doMismatch() { } // 处理当前连接 - if mismatchAction != nil && mismatchAction.Code == "page" { + if mismatchAction != nil && mismatchAction.Code == serverconfigs.DomainMismatchActionPage { if mismatchAction.Options != nil { this.writer.statusCode = statusCode var contentHTML = this.Format(mismatchAction.Options.GetString("contentHTML"))