summaryrefslogtreecommitdiff
path: root/config/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/app.php')
-rw-r--r--config/app.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/app.php b/config/app.php
index 6278f193..9af35eb4 100644
--- a/config/app.php
+++ b/config/app.php
@@ -15,13 +15,15 @@ return [
\Engelsystem\Http\SessionServiceProvider::class,
\Engelsystem\Http\ResponseServiceProvider::class,
\Engelsystem\Http\Psr7ServiceProvider::class,
+ \Engelsystem\Middleware\RouteDispatcherServiceProvider::class,
+ \Engelsystem\Middleware\RequestHandlerServiceProvider::class,
],
// Application middleware
'middleware' => [
\Engelsystem\Middleware\SendResponseHandler::class,
\Engelsystem\Middleware\ExceptionHandler::class,
- \Engelsystem\Middleware\LegacyMiddleware::class,
- \Engelsystem\Middleware\NotFoundResponse::class,
+ \Engelsystem\Middleware\RouteDispatcher::class,
+ \Engelsystem\Middleware\RequestHandler::class,
],
];