From c9c72cc847b75fc39a4ed58072e4b2373d4908fe Mon Sep 17 00:00:00 2001 From: Xboard <147830212+cedar2025@users.noreply.github.com> Date: Sun, 19 Jan 2025 14:37:49 +0800 Subject: [PATCH] fix: vlees + ws general subscribe --- app/Protocols/General.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Protocols/General.php b/app/Protocols/General.php index 871e241..636ee17 100644 --- a/app/Protocols/General.php +++ b/app/Protocols/General.php @@ -147,8 +147,8 @@ class General implements ProtocolInterface case 'ws': if ($path = data_get($protocol_settings, 'network_settings.path')) $config['path'] = $path; - if ($host = data_get($protocol_settings, 'network_settings.headers.Host')) - $config['host'] = $host; + if ($wsHost = data_get($protocol_settings, 'network_settings.headers.Host')) + $config['host'] = $wsHost; break; case 'grpc': if ($path = data_get($protocol_settings, 'network_settings.serviceName'))