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-17 00:25:19 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-17 00:25:19 +0300
commit70e7987df5f3018d62cc39758824ebbdf2ee64ca (patch)
treeb90cb801709e3774009293cd7ebf1486820f4b26 /web/html/xui/inbound_modal.html
parent8ceeb454ee15b4186ac99f3c9a108431d57419ff (diff)
[feature] multi cert per inbound
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/inbound_modal.html')
-rw-r--r--web/html/xui/inbound_modal.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html
index cb98f6a8..73ed6234 100644
--- a/web/html/xui/inbound_modal.html
+++ b/web/html/xui/inbound_modal.html
@@ -100,13 +100,13 @@
this.inModal.inbound.reality = false;
}
},
- setDefaultCertData() {
- inModal.inbound.stream.tls.certs[0].certFile = app.defaultCert;
- inModal.inbound.stream.tls.certs[0].keyFile = app.defaultKey;
+ setDefaultCertData(index) {
+ inModal.inbound.stream.tls.certs[index].certFile = app.defaultCert;
+ inModal.inbound.stream.tls.certs[index].keyFile = app.defaultKey;
},
- setDefaultCertXtls() {
- inModal.inbound.stream.xtls.certs[0].certFile = app.defaultCert;
- inModal.inbound.stream.xtls.certs[0].keyFile = app.defaultKey;
+ setDefaultCertXtls(index) {
+ inModal.inbound.stream.xtls.certs[index].certFile = app.defaultCert;
+ inModal.inbound.stream.xtls.certs[index].keyFile = app.defaultKey;
},
async getNewX25519Cert() {
inModal.loading(true);