mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-04 00:23:43 +08:00
fix: missing sniffhost field in RESTful API
This commit is contained in:
parent
3fd3d83029
commit
a991bf9045
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user