mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix users that set a non-array for cors (#11921)
* Fix users that set a non-array for cors combine two Env util classes * Used the wrong thing.
This commit is contained in:
@@ -23,7 +23,7 @@ return [
|
||||
* of your proxy (e.g. if using ELB or similar).
|
||||
*
|
||||
*/
|
||||
'proxies' => \LibreNMS\Util\Env::parseArray('APP_TRUSTED_PROXIES', '*', ['', '*', '**']),
|
||||
'proxies' => \LibreNMS\Util\EnvHelper::parseArray('APP_TRUSTED_PROXIES', '*', ['', '*', '**']),
|
||||
|
||||
/*
|
||||
* To trust one or more specific proxies that connect
|
||||
|
Reference in New Issue
Block a user