安全优化

This commit is contained in:
pllx
2026-04-28 13:57:15 +08:00
parent aa6046d89b
commit c8adbff78e
+1 -1
View File
@@ -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'),