瀏覽代碼

update trojan

Tokumeikoi 4 年之前
父節點
當前提交
ee762fe69a
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Utils/Surge.php

+ 2 - 1
app/Utils/Surge.php

@@ -36,7 +36,8 @@ class Surge
             "{$server->port}",
             "password={$password}",
             "skip-cert-verify={$allowInsecure}",
-            $server->server_name ? "sni={$server->server_name}" : ""
+            $server->server_name ? "sni={$server->server_name}" : "",
+            "tfo=true"
         ];
         $config = array_filter($config);
         $uri = implode($config, ',');