Fix @schrej's proxy code.
This commit is contained in:
parent
19d352619e
commit
6855e76c2b
1 changed files with 1 additions and 1 deletions
|
@ -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)),
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue