Browse Source

Merge pull request #4526 from themsaid/pusherCluster

Include cluster in pusher config
Taylor Otwell 6 years ago
parent
commit
73cff166c7
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=mt1

+ 2 - 1
config/broadcasting.php

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