diff --git a/adapter/outbound/vmess.go b/adapter/outbound/vmess.go index 26ed400e..54e5f865 100644 --- a/adapter/outbound/vmess.go +++ b/adapter/outbound/vmess.go @@ -367,7 +367,7 @@ func NewVmess(option VmessOption) (*Vmess, error) { switch option.Network { case "h2", "grpc": if !option.TLS { - return nil, fmt.Errorf("TLS must be true with h2/grpc network") + option.TLS = true } }