mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup and realign.
This commit is contained in:
@@ -45,7 +45,7 @@ class TrustProxies extends Middleware
|
||||
{
|
||||
$trustedProxies = (string)env('TRUSTED_PROXIES', null);
|
||||
$this->proxies = explode(',', $trustedProxies);
|
||||
if ($trustedProxies === '**') {
|
||||
if ('**' === $trustedProxies) {
|
||||
$this->proxies = '**';
|
||||
}
|
||||
parent::__construct($config);
|
||||
|
Reference in New Issue
Block a user