Skip to content

Commit

Permalink
fix(foundation): fix unloaded middlewares
Browse files Browse the repository at this point in the history
  • Loading branch information
pandawabot committed Sep 6, 2022
1 parent bfd905c commit 1e2e77d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ class Kernel extends HttpKernel

public function __construct(ApplicationInterface $app, Router $router)
{
parent::__construct($app, $router);

$this->bootstrappers = $app->getFoundationConfig('http.kernel.bootstrappers', $this->bootstrappers);
$this->middleware = $app->getFoundationConfig('http.middleware.all', $this->middleware);
$this->middlewareGroups = $app->getFoundationConfig('http.middleware.groups', $this->middlewareGroups);
$this->routeMiddleware = $app->getFoundationConfig('http.middleware.route', $this->routeMiddleware);
$this->routeMiddleware = $app->getFoundationConfig('http.middleware.routes', $this->routeMiddleware);
$this->middlewarePriority = $app->getFoundationConfig('http.middleware.priorities', $this->middlewarePriority);

parent::__construct($app, $router);
}
}

0 comments on commit 1e2e77d

Please sign in to comment.