Merge pull request #15379 from setpill/fix/load-trustproxies-middleware

fixed #15374: load TrustProxies middleware in Kernel.php
This commit is contained in:
snipe 2024-08-23 07:18:41 +01:00 committed by GitHub
commit fc5eb37776
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,6 +14,7 @@ class Kernel extends HttpKernel
* @var array
*/
protected $middleware = [
\App\Http\Middleware\TrustProxies::class,
\App\Http\Middleware\NoSessionStore::class,
\Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Session\Middleware\StartSession::class,