Skip to content

Commit

Permalink
Uncomment TrustProxies
Browse files Browse the repository at this point in the history
  • Loading branch information
paras-malhotra committed Mar 6, 2021
1 parent 75a8dda commit 4c0ed1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Kernel extends HttpKernel
*/
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
// \App\Http\Middleware\TrustProxies::class,
\App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class,
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
Expand Down
1 change: 1 addition & 0 deletions config/enlightn.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
Enlightn\Enlightn\Analyzers\Security\CSRFAnalyzer::class,
Enlightn\Enlightn\Analyzers\Security\StableDependencyAnalyzer::class,
Enlightn\EnlightnPro\Analyzers\Reliability\DeadRouteAnalyzer::class,
Enlightn\Enlightn\Analyzers\Performance\UnusedGlobalMiddlewareAnalyzer::class,
],

/*
Expand Down

0 comments on commit 4c0ed1d

Please sign in to comment.