From 89a1bda0e4211091445335202a99bf81546231b0 Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Thu, 28 Oct 2021 14:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96ws=E5=9C=B0?= =?UTF-8?q?=E5=9D=80bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/common.php b/crmeb/app/common.php index 3f21af38a..2333de592 100644 --- a/crmeb/app/common.php +++ b/crmeb/app/common.php @@ -24,7 +24,7 @@ if (!function_exists('getWorkerManUrl')) { */ function getWorkerManUrl() { - $ws = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS']) == 'on' ? 'wss://' : 'ws://'; + $ws = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'wss://' : 'ws://'; $host = $_SERVER['HTTP_HOST']; $data['admin'] = $ws . $host . '/notice'; $data['channel'] = $ws . $host . '/msg';