update trojan

This commit is contained in:
Tokumeikoi
2020-07-01 18:41:12 +08:00
parent 4c73d55342
commit 2d67446ce3
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class QuantumultX
public static function buildTrojan($password, $server)
{
$tlsVerification = $server->allow_insecure ? true : false;
$tlsVerification = (string)($server->allow_insecure ? true : false);
$config = [
"trojan={$server->host}:{$server->port}",
"password={$password}",