mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-06 20:18:33 +00:00
fix: missing sniffhost field in RESTful API
This commit is contained in:
1 parent
3fd3d83029
commit
a991bf9045
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user