fix: 修复vless节点使用tls时订阅抱错的问题

This commit is contained in:
xboard
2024-01-16 17:02:42 +08:00
parent f610f45523
commit 3a4efcc1f8
7 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ class Stash
$array['tls'] = true;
switch($server['tls']){
case 1:
if ($server['tlsSettings']) {
if ($server['tls_settings']) {
$tlsSettings = $server['tls_settings'];
if (isset($tlsSettings['server_name']) && !empty($tlsSettings['server_name']))
$array['servername'] = $tlsSettings['server_name'];