From e6c6c92ca2f4b4ac13307168dc26e56305ad9e1c Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 5 Dec 2023 22:43:06 +0100 Subject: [PATCH] fix fallback link with nonTls #1286 --- web/html/xui/inbounds.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 2a6d74ab..c61104d5 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -993,7 +993,7 @@ newDbInbound = new DBInbound(dbInbound); if (dbInbound.listen.startsWith("@")){ rootInbound = this.inbounds.find((i) => - i.tls && + i.isTcp && ['trojan','vless'].includes(i.protocol) && i.settings.fallbacks.find(f => f.dest === dbInbound.listen) );