Skip to content

Commit

Permalink
Default tls version 1.0-1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Alireza Ahmadi committed Mar 23, 2023
1 parent c49a9e8 commit 14d7cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/assets/js/model/xray.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class GrpcStreamSettings extends XrayCommonClass {
}

class TlsStreamSettings extends XrayCommonClass {
constructor(serverName = '', minVersion = TLS_VERSION_OPTION.TLS12, maxVersion = TLS_VERSION_OPTION.TLS13,
constructor(serverName = '', minVersion = TLS_VERSION_OPTION.TLS10, maxVersion = TLS_VERSION_OPTION.TLS12,
cipherSuites = '',
certificates = [new TlsStreamSettings.Cert()], alpn=[''] ,settings=[new TlsStreamSettings.Settings()]) {
super();
Expand Down

0 comments on commit 14d7cb8

Please sign in to comment.