update trojan

This commit is contained in:
Tokumeikoi 2020-07-01 18:32:41 +08:00
parent 2782bd1a2c
commit ee762fe69a

View File

@ -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, ',');