From ae5ad505d04fa347eb96a0d2bfb54ff541c3b709 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 20 Apr 2026 16:05:27 +0200 Subject: add hysteria inbound Co-Authored-By: Alireza Ahmadi --- web/html/modals/client_modal.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'web/html/modals/client_modal.html') diff --git a/web/html/modals/client_modal.html b/web/html/modals/client_modal.html index a5d3e7ac..8ce0e832 100644 --- a/web/html/modals/client_modal.html +++ b/web/html/modals/client_modal.html @@ -1,10 +1,14 @@ {{define "modals/clientsModal"}} - + {{template "form/client"}} @@ -56,6 +60,7 @@ switch (protocol) { case Protocols.TROJAN: return client.password; case Protocols.SHADOWSOCKS: return client.email; + case Protocols.HYSTERIA: return client.auth; default: return client.id; } }, @@ -65,6 +70,7 @@ case Protocols.VLESS: return clients.push(new Inbound.VLESSSettings.VLESS()); case Protocols.TROJAN: return clients.push(new Inbound.TrojanSettings.Trojan()); case Protocols.SHADOWSOCKS: return clients.push(new Inbound.ShadowsocksSettings.Shadowsocks(clients[0].method, RandomUtil.randomShadowsocksPassword(inbound.settings.method))); + case Protocols.HYSTERIA: return clients.push(new Inbound.HysteriaSettings.Hysteria()); default: return null; } }, -- cgit v1.2.3