Skip to content

Commit

Permalink
Uncomment TrustHosts middleware to enable it by default. (#5477)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCoulbourne committed Nov 26, 2020
1 parent 82213fb commit f6f772b
Showing 1 changed file with 1 addition 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 @@ -14,7 +14,7 @@ class Kernel extends HttpKernel
* @var array
*/
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
Expand Down

0 comments on commit f6f772b

Please sign in to comment.