From 551073cb83296f90809a55ce3e33218c19cd7f86 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 28 Dec 2019 11:41:47 +0800 Subject: [PATCH] update --- app/Utils/Helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/Helper.php b/app/Utils/Helper.php index f93e3573..f4294d48 100755 --- a/app/Utils/Helper.php +++ b/app/Utils/Helper.php @@ -65,7 +65,7 @@ class Helper if ($item->network == 'ws') { $wsSettings = json_decode($item->settings); if ($wsSettings->path) $config['path'] = $wsSettings->path; - if ($wsSettings->headers) $config['host'] = $wsSettings->headers->host; + if ($wsSettings->headers->Host) $config['host'] = $wsSettings->headers->Host; } return "vmess://".base64_encode(json_encode($config))."\r\n"; }