mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 18:42:31 +01:00
Fix @schrej's proxy code.
This commit is contained in:
parent
2290118a0d
commit
b5c39a1212
@ -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 New Issue
Block a user