feat: adding support for Server is domain flag

This commit is contained in:
WendelHime 2025-03-04 17:39:03 -03:00
parent 56f9410507
commit 2dc6ade6d6
No known key found for this signature in database
GPG Key ID: CA80EF380D5B4207

View File

@ -41,7 +41,7 @@ func RegisterOutbound(registry *outbound.Registry) {
// NewOutbound creates a proxyless outbond that uses the proxyless transport
// for dialing
func NewOutbound(ctx context.Context, router adapter.Router, log log.ContextLogger, tag string, options option.OutboundOutlineOptions) (adapter.Outbound, error) {
outboundDialer, err := dialer.New(ctx, options.DialerOptions)
outboundDialer, err := dialer.New(ctx, options.DialerOptions, true)
if err != nil {
return nil, err
}