mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 05:43:45 +02:00
Fix @schrej's proxy code.
This commit is contained in:
@@ -24,7 +24,7 @@ return [
|
||||
* how many proxies that client's request has
|
||||
* subsequently passed through.
|
||||
*/
|
||||
'proxies' => in_array(env('TRUSTED_PROXIES', ['*', '**'])) ?
|
||||
'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ?
|
||||
env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', null)),
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user