mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-01 01:59:55 +00:00
fix: unable to start mieru inbound when traffic-pattern is not set (#2590)
This commit is contained in:
@@ -29,7 +29,7 @@ type MieruOption struct {
|
||||
BaseOption
|
||||
Transport string `inbound:"transport"`
|
||||
Users map[string]string `inbound:"users"`
|
||||
TrafficPattern string `inbound:"traffic-pattern"`
|
||||
TrafficPattern string `inbound:"traffic-pattern,omitempty"`
|
||||
}
|
||||
|
||||
type mieruListenerFactory struct{}
|
||||
|
||||
Reference in New Issue
Block a user