Procházet zdrojové kódy

fix fallback link with nonTls #1286

Alireza Ahmadi před 1 rokem
rodič
revize
e6c6c92ca2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)
                     );