Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Apr 9, 2023
1 parent 9e955df commit 91b453f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/assets/js/model/xray.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ class TlsStreamSettings extends XrayCommonClass {
maxVersion = TLS_VERSION_OPTION.TLS12,
cipherSuites = '',
certificates=[new TlsStreamSettings.Cert()],
alpn=[''],
alpn=[],
settings=[new TlsStreamSettings.Settings()]) {
super();
this.server = serverName;
Expand Down Expand Up @@ -1573,7 +1573,7 @@ Inbound.VLESSSettings.VLESS = class extends XrayCommonClass {
}
};
Inbound.VLESSSettings.Fallback = class extends XrayCommonClass {
constructor(name="", alpn='', path='', dest='', xver=0) {
constructor(name="", alpn=[], path='', dest='', xver=0) {
super();
this.name = name;
this.alpn = alpn;
Expand Down Expand Up @@ -1709,7 +1709,7 @@ Inbound.TrojanSettings.Trojan = class extends XrayCommonClass {
};

Inbound.TrojanSettings.Fallback = class extends XrayCommonClass {
constructor(name="", alpn='', path='', dest='', xver=0) {
constructor(name="", alpn=[], path='', dest='', xver=0) {
super();
this.name = name;
this.alpn = alpn;
Expand Down

0 comments on commit 91b453f

Please sign in to comment.