diff --git a/config/reverb.php b/config/reverb.php index b0e7ec1..bf55784 100644 --- a/config/reverb.php +++ b/config/reverb.php @@ -82,7 +82,7 @@ return [ 'scheme' => env('REVERB_SCHEME', 'https'), 'useTLS' => env('REVERB_SCHEME', 'https') === 'https', ], - 'allowed_origins' => ['*'], + 'allowed_origins' => array_filter([env('REVERB_ALLOWED_ORIGIN')]), 'ping_interval' => env('REVERB_APP_PING_INTERVAL', 60), 'activity_timeout' => env('REVERB_APP_ACTIVITY_TIMEOUT', 30), 'max_connections' => env('REVERB_APP_MAX_CONNECTIONS'),