Last active
September 7, 2021 12:40
-
-
Save Ghostscypher/bb79a21629a7bde7dfb61812d69f2984 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// config/broadcasting.config | |
return [ | |
//.... | |
'connections' => [ | |
'pusher' => [ | |
'driver' => 'pusher', | |
'key' => env('PUSHER_APP_KEY'), | |
'secret' => env('PUSHER_APP_SECRET'), | |
'app_id' => env('PUSHER_APP_ID'), | |
'options' => [ | |
'cluster' => env('PUSHER_APP_CLUSTER'), | |
'encrypted' => true, // true if using HTTPS else false | |
'host' => 'example.com', // Change this to your domain | |
'port' => 443, // Change this whatever port you are serving your website from | |
'scheme' => env('PUSHER_APP_SCHEME'), | |
'curl_options' => [ | |
CURLOPT_SSL_VERIFYHOST => 0, | |
CURLOPT_SSL_VERIFYPEER => 0, | |
], | |
], | |
], | |
//.... | |
], | |
//.... | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment