mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-20 22:38:07 +03:00
Add Surge MITM and scripts
This commit is contained in:
@@ -18,5 +18,6 @@ func HTTPHost(_ context.Context, metadata *adapter.InboundContext, reader io.Rea
|
||||
}
|
||||
metadata.Protocol = C.ProtocolHTTP
|
||||
metadata.Domain = M.ParseSocksaddr(request.Host).AddrString()
|
||||
metadata.HTTPRequest = request
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user