Skip to content

Commit

Permalink
TLS, REALITY : fingerprint set default to chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Dec 17, 2024
1 parent 44ef1ac commit 73e90e0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web/assets/js/model/inbound.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,10 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
};

TlsStreamSettings.Settings = class extends XrayCommonClass {
constructor(allowInsecure = false, fingerprint = '') {
constructor(
allowInsecure = false,
fingerprint = UTLS_FINGERPRINT.UTLS_CHROME,
) {
super();
this.allowInsecure = allowInsecure;
this.fingerprint = fingerprint;
Expand Down Expand Up @@ -778,7 +781,7 @@ class RealityStreamSettings extends XrayCommonClass {
RealityStreamSettings.Settings = class extends XrayCommonClass {
constructor(
publicKey = '',
fingerprint = UTLS_FINGERPRINT.UTLS_RANDOM,
fingerprint = UTLS_FINGERPRINT.UTLS_CHROME,
serverName = '',
spiderX = '/'
) {
Expand Down

0 comments on commit 73e90e0

Please sign in to comment.