Browse Source

include cluster in pusher config

Mohamed Said 6 years ago
parent
commit
84b126d90d
2 changed files with 3 additions and 1 deletions
  1. 1 0
      .env.example
  2. 2 1
      config/broadcasting.php

+ 1 - 0
.env.example

@@ -32,3 +32,4 @@ MAIL_ENCRYPTION=null
 PUSHER_APP_ID=
 PUSHER_APP_KEY=
 PUSHER_APP_SECRET=
+PUSHER_APP_CLUSTER=

+ 2 - 1
config/broadcasting.php

@@ -36,7 +36,8 @@ return [
             'secret' => env('PUSHER_APP_SECRET'),
             'app_id' => env('PUSHER_APP_ID'),
             'options' => [
-                //
+                'encrypted' => true,
+                'cluster' => env('PUSHER_APP_CLUSTER')
             ],
         ],