diff options
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); |
