fix: missing sniffhost field in RESTful API

This commit is contained in:
metacubex 2023-02-10 12:48:02 +08:00
parent 3fd3d83029
commit a991bf9045

View File

@ -135,7 +135,7 @@ type Metadata struct {
SpecialRules string `json:"specialRules"` SpecialRules string `json:"specialRules"`
RemoteDst string `json:"remoteDestination"` RemoteDst string `json:"remoteDestination"`
// Only domain rule // Only domain rule
SniffHost string SniffHost string `json:"sniffHost"`
} }
func (m *Metadata) RemoteAddress() string { func (m *Metadata) RemoteAddress() string {