From c8adbff78e2c82a28b9e0719c74d042cfb8492f4 Mon Sep 17 00:00:00 2001 From: pllx Date: Tue, 28 Apr 2026 13:57:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/reverb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'),