1
0
mirror of https://github.com/v2board/v2board.git synced 2025-03-14 14:44:45 +08:00

fix: 修正Loon WS+TLS时over-tls始终为false问题

This commit is contained in:
ClashUS 2023-09-24 22:58:52 +08:00
parent 2b9540f9f2
commit f6fcfb1de2

@ -89,7 +89,6 @@ class Loon
} }
} }
if ($server['tls']) { if ($server['tls']) {
if ($server['network'] === 'tcp')
array_push($config, 'over-tls=true'); array_push($config, 'over-tls=true');
if ($server['tlsSettings']) { if ($server['tlsSettings']) {
$tlsSettings = $server['tlsSettings']; $tlsSettings = $server['tlsSettings'];