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:
Mekan1206
2026-08-16 17:38:29 +05:00
parent 87bc7d9591
commit 5a9ba0cc23
2 changed files with 12 additions and 9 deletions

View File

@@ -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' => [