Browse Source

fix fallback link with nonTls #1286

Alireza Ahmadi 1 year ago
parent
commit
e6c6c92ca2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/html/xui/inbounds.html

+ 1 - 1
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)
                     );