update pusher conf

This commit is contained in:
Benjamin Beganović 2024-09-17 18:37:27 +02:00
parent 984a8666aa
commit f5d9ca5174

View File

@ -32,18 +32,15 @@ return [
'pusher' => [ 'pusher' => [
'driver' => 'pusher', 'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY', ''), 'key' => env('PUSHER_APP_KEY', 'app-key'),
'secret' => env('PUSHER_APP_SECRET', ''), 'secret' => env('PUSHER_APP_SECRET', 'app-secret'),
'app_id' => env('PUSHER_APP_ID', ''), 'app_id' => env('PUSHER_APP_ID', 'app-id'),
'options' => [ 'options' => [
'host' => env('PUSHER_HOST', 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com'), 'host' => env('PUSHER_HOST', '127.0.0.1'),
'port' => env('PUSHER_PORT', 443), 'port' => env('PUSHER_PORT', 6001),
'scheme' => env('PUSHER_SCHEME', 'https'), 'scheme' => env('PUSHER_SCHEME', 'http'),
'encrypted' => false, 'encrypted' => true,
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https', 'useTLS' => env('PUSHER_SCHEME') === 'https',
],
'client_options' => [
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
], ],
], ],