fix: quantumultx tls-host key error

This commit is contained in:
tokumeikoi 2020-12-16 23:15:20 +08:00
parent 5a5491591b
commit a0d1b10614
2 changed files with 1 additions and 3 deletions

View File

@ -47,8 +47,6 @@ class QuantumultX
$tlsSettings = json_decode($server['tlsSettings'], true);
if (isset($tlsSettings['allowInsecure']) && !empty($tlsSettings['allowInsecure']))
array_push($config, 'tls-verification=' . ($tlsSettings['allowInsecure'] ? 'false' : 'true'));
if (isset($tlsSettings['serverName']) && !empty($tlsSettings['serverName']))
array_push($config, "tls-host={$tlsSettings['serverName']}");
}
}
if ($server['network'] === 'ws') {

View File

@ -236,5 +236,5 @@ return [
| The only modification by laravel config
|
*/
'version' => '1.4.2.1607914998'
'version' => '1.4.3.1608131637'
];