mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-12-20 09:00:04 +08:00
Fix: set mitm outbound
This commit is contained in:
parent
8b3e42bf19
commit
72b9b829e9
@ -101,7 +101,11 @@ func SetMode(m TunnelMode) {
|
||||
|
||||
// SetMitmOutbound set the MITM outbound
|
||||
func SetMitmOutbound(outbound C.ProxyAdapter) {
|
||||
if outbound != nil {
|
||||
mitmProxy = A.NewProxy(outbound)
|
||||
} else {
|
||||
mitmProxy = nil
|
||||
}
|
||||
}
|
||||
|
||||
// Rewrites return all rewrites
|
||||
|
||||
Loading…
Reference in New Issue
Block a user