From 26d22624cab2231adc73fbb445adcce2f1049c79 Mon Sep 17 00:00:00 2001 From: merdan Date: Sun, 24 Apr 2022 15:23:53 +0500 Subject: [PATCH] websockets --- config/broadcasting.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/broadcasting.php b/config/broadcasting.php index a8ee91d6b..1de297c0b 100755 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -37,9 +37,13 @@ return [ 'options' => [ 'cluster' => env('PUSHER_APP_CLUSTER'), 'encrypted' => true, - 'host' => '127.0.0.1', - 'port' => 472, - 'schema' => 'https' + 'host' => env('PUSHER_HOST', '127.0.0.1'), + 'port' => env('PUSHER_PORT', 472), + 'schema' => 'https', + 'curl_options' => [ + CURLOPT_SSL_VERIFYHOST => 0, + CURLOPT_SSL_VERIFYPEER => 0, + ] ], ],