diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-05-17 00:25:19 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-05-17 00:25:19 +0300 |
| commit | 70e7987df5f3018d62cc39758824ebbdf2ee64ca (patch) | |
| tree | b90cb801709e3774009293cd7ebf1486820f4b26 /web/html/xui/inbound_modal.html | |
| parent | 8ceeb454ee15b4186ac99f3c9a108431d57419ff (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.html | 12 |
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); |
