Update broadcasting configuration in .env.example and broadcasting.php: replace REVERB_* variables with REVERB_BROADCAST_* for clarity, ensuring proper local and production settings for websocket connections.
This commit is contained in:
@@ -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_BROADCAST_HOST', '127.0.0.1'),
|
||||
'port' => (int) env('REVERB_BROADCAST_PORT', env('REVERB_SERVER_PORT', 8080)),
|
||||
'scheme' => env('REVERB_BROADCAST_SCHEME', 'http'),
|
||||
'useTLS' => env('REVERB_BROADCAST_SCHEME', 'http') === 'https',
|
||||
'path' => env('REVERB_SERVER_PATH', ''),
|
||||
],
|
||||
'client_options' => [
|
||||
|
||||
Reference in New Issue
Block a user