FIX: trusted proxy depreciated issue
This commit is contained in:
parent
1c30f1310d
commit
98ce2e3315
|
@ -26,7 +26,7 @@ return [
|
||||||
* subsequently passed through.
|
* subsequently passed through.
|
||||||
*/
|
*/
|
||||||
'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ?
|
'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ?
|
||||||
env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', null)),
|
env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES', '')),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Or, to trust all proxies that connect
|
* Or, to trust all proxies that connect
|
||||||
|
|
Loading…
Reference in a new issue