diff --git a/config/broadcasting.php b/config/broadcasting.php index ebc3fb9..a37254f 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -36,10 +36,10 @@ return [ 'secret' => env('REVERB_APP_SECRET'), 'app_id' => env('REVERB_APP_ID'), 'options' => [ - 'host' => env('REVERB_HOST'), - 'port' => env('REVERB_PORT', 443), - 'scheme' => env('REVERB_SCHEME', 'https'), - 'useTLS' => env('REVERB_SCHEME', 'https') === 'https', + 'host' => env('REVERB_API_HOST', '127.0.0.1'), + 'port' => env('REVERB_API_PORT', 9001), + 'scheme' => env('REVERB_API_SCHEME', 'http'), + 'useTLS' => env('REVERB_API_SCHEME', 'http') !== 'https', ], 'client_options' => [ // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html @@ -53,7 +53,7 @@ return [ 'app_id' => env('PUSHER_APP_ID'), 'options' => [ 'cluster' => env('PUSHER_APP_CLUSTER'), - 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com', + 'host' => env('PUSHER_HOST') ?: 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com', 'port' => env('PUSHER_PORT', 443), 'scheme' => env('PUSHER_SCHEME', 'https'), 'encrypted' => true,