diff --git a/.env.example b/.env.example index 91ba58f0..cd06cc8d 100644 --- a/.env.example +++ b/.env.example @@ -32,3 +32,4 @@ MAIL_ENCRYPTION=null PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= +PUSHER_APP_CLUSTER=mt1 diff --git a/config/broadcasting.php b/config/broadcasting.php index 5eecd2b2..3ca45eaa 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -36,7 +36,8 @@ 'secret' => env('PUSHER_APP_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ - // + 'cluster' => env('PUSHER_APP_CLUSTER'), + 'encrypted' => true, ], ],