bootstrap/app.php: Add trusted proxies middleware
This commit is contained in:
parent
9f6e39f268
commit
e5defa3b43
1 changed files with 3 additions and 3 deletions
|
|
@ -72,9 +72,9 @@ $app->configure('app');
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// $app->middleware([
|
$app->middleware([
|
||||||
// App\Http\Middleware\ExampleMiddleware::class
|
App\Http\Middleware\TrustedProxiesMiddleware::class
|
||||||
// ]);
|
]);
|
||||||
|
|
||||||
// $app->routeMiddleware([
|
// $app->routeMiddleware([
|
||||||
// 'auth' => App\Http\Middleware\Authenticate::class,
|
// 'auth' => App\Http\Middleware\Authenticate::class,
|
||||||
|
|
|
||||||
Reference in a new issue