瀏覽代碼

fix fallback link with nonTls #1286

Alireza Ahmadi 1 年之前
父節點
當前提交
e6c6c92ca2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
                     );