Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/assets/js/model')
-rw-r--r--web/assets/js/model/xray.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index 2954957c..efd059f9 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -482,8 +482,8 @@ class TlsStreamSettings extends XrayCommonClass {
this.settings = settings;
}
- addCert(cert) {
- this.certs.push(cert);
+ addCert() {
+ this.certs.push(new TlsStreamSettings.Cert());
}
removeCert(index) {
@@ -599,8 +599,8 @@ class XtlsStreamSettings extends XrayCommonClass {
this.settings = settings;
}
- addCert(cert) {
- this.certs.push(cert);
+ addCert() {
+ this.certs.push(new XtlsStreamSettings.Cert());
}
removeCert(index) {