From a991bf90458854aa13617dcff15df19d76cca8bf Mon Sep 17 00:00:00 2001 From: metacubex Date: Fri, 10 Feb 2023 12:48:02 +0800 Subject: [PATCH] fix: missing sniffhost field in RESTful API --- constant/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constant/metadata.go b/constant/metadata.go index 3b55a8be..f1c68f68 100644 --- a/constant/metadata.go +++ b/constant/metadata.go @@ -135,7 +135,7 @@ type Metadata struct { SpecialRules string `json:"specialRules"` RemoteDst string `json:"remoteDestination"` // Only domain rule - SniffHost string + SniffHost string `json:"sniffHost"` } func (m *Metadata) RemoteAddress() string {