mirror of
https://github.com/v2board/v2board.git
synced 2025-02-11 07:59:11 +08:00
fix: quantumultx tls-host key error
This commit is contained in:
parent
5a5491591b
commit
a0d1b10614
@ -47,8 +47,6 @@ class QuantumultX
|
|||||||
$tlsSettings = json_decode($server['tlsSettings'], true);
|
$tlsSettings = json_decode($server['tlsSettings'], true);
|
||||||
if (isset($tlsSettings['allowInsecure']) && !empty($tlsSettings['allowInsecure']))
|
if (isset($tlsSettings['allowInsecure']) && !empty($tlsSettings['allowInsecure']))
|
||||||
array_push($config, 'tls-verification=' . ($tlsSettings['allowInsecure'] ? 'false' : 'true'));
|
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') {
|
if ($server['network'] === 'ws') {
|
||||||
|
@ -236,5 +236,5 @@ return [
|
|||||||
| The only modification by laravel config
|
| The only modification by laravel config
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'version' => '1.4.2.1607914998'
|
'version' => '1.4.3.1608131637'
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user