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:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-05-22 17:01:41 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-22 17:01:41 +0300
commit1fa9101b405ad1ba0127317ea4f8a151048b97ee (patch)
treee03a93684953b3473a717a283953464bf368008a /web/assets/js/model/models.js
parent3f2e1aede90984d3bafab377509f712e5ce51ec0 (diff)
[feature] add multi domain tls (CDN ready)
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/assets/js/model/models.js')
-rw-r--r--web/assets/js/model/models.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/model/models.js b/web/assets/js/model/models.js
index dc4c85d0..d8395b56 100644
--- a/web/assets/js/model/models.js
+++ b/web/assets/js/model/models.js
@@ -153,9 +153,9 @@ class DBInbound {
}
}
- genLink(clientIndex) {
+ genLink(address=this.address, remark=this.remark, clientIndex=0) {
const inbound = this.toInbound();
- return inbound.genLink(this.address, this.remark, clientIndex);
+ return inbound.genLink(address, remark, clientIndex);
}
get genInboundLinks() {