diff options
| author | Sanaei <ho3ein.sanaei@gmail.com> | 2025-08-04 17:27:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-04 17:27:57 +0300 |
| commit | e4ba5ba53a27ee256364e7031df3d43afb3b3fe6 (patch) | |
| tree | 994de962ab65539acbc7f9802b07fa5c111795fd /web/html/modals/inbound_modal.html | |
| parent | 6ff555c8bb7abf2d528363b4937757424a0ae527 (diff) | |
add ech support (#3310)
Co-authored-by: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/modals/inbound_modal.html')
| -rw-r--r-- | web/html/modals/inbound_modal.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/html/modals/inbound_modal.html b/web/html/modals/inbound_modal.html index f11df2e2..b77e74e2 100644 --- a/web/html/modals/inbound_modal.html +++ b/web/html/modals/inbound_modal.html @@ -152,6 +152,16 @@ inModal.inbound.stream.reality.mldsa65Seed = msg.obj.seed; inModal.inbound.stream.reality.settings.mldsa65Verify = msg.obj.verify; }, + async getNewEchCert() { + inModal.loading(true); + const msg = await HttpUtil.post('/server/getNewEchCert', {sni: inModal.inbound.stream.tls.sni}); + inModal.loading(false); + if (!msg.success) { + return; + } + inModal.inbound.stream.tls.echServerKeys = msg.obj.echServerKeys; + inModal.inbound.stream.tls.settings.echConfigList = msg.obj.echConfigList; + }, }, }); |
