Add v2ray transport to trojan
This commit is contained in:
@@ -43,7 +43,7 @@ func TestTrojanOutbound(t *testing.T) {
|
||||
ServerPort: serverPort,
|
||||
},
|
||||
Password: "password",
|
||||
TLSOptions: &option.OutboundTLSOptions{
|
||||
TLS: &option.OutboundTLSOptions{
|
||||
Enabled: true,
|
||||
ServerName: "example.org",
|
||||
CertificatePath: certPem,
|
||||
@@ -107,7 +107,7 @@ func TestTrojanSelf(t *testing.T) {
|
||||
ServerPort: serverPort,
|
||||
},
|
||||
Password: "password",
|
||||
TLSOptions: &option.OutboundTLSOptions{
|
||||
TLS: &option.OutboundTLSOptions{
|
||||
Enabled: true,
|
||||
ServerName: "example.org",
|
||||
CertificatePath: certPem,
|
||||
|
||||
Reference in New Issue
Block a user