diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index 78e10e27..8858c8ad 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -625,7 +625,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; @@ -700,7 +703,12 @@ class RealityStreamSettings extends XrayCommonClass { } RealityStreamSettings.Settings = class extends XrayCommonClass { - constructor(publicKey = '', fingerprint = UTLS_FINGERPRINT.UTLS_FIREFOX, serverName = '', spiderX= '/') { + constructor( + publicKey = '', + fingerprint = UTLS_FINGERPRINT.UTLS_CHROME, + serverName = '', + spiderX = '/' + ) { super(); this.publicKey = publicKey; this.fingerprint = fingerprint;