FIX: trusted proxy depreciated issue

This commit is contained in:
S0ly 2024-05-14 15:10:03 +02:00
parent 1c30f1310d
commit 98ce2e3315

View file

@ -26,7 +26,7 @@ return [
* subsequently passed through.
*/
'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