* basepath middleware fixed

This commit is contained in:
Dávid Danyi
2018-04-20 13:32:26 +02:00
parent 2a08e41d74
commit ac504ae9da
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ return function (Application $app, MiddlewareFactory $factory, ContainerInterfac
// The error handler should be the first (most outer) middleware to catch
// all Exceptions.
$app->pipe(ErrorHandler::class);
$app->pipe(LosMiddleware\BasePath\BasePath::class);
$app->pipe(LosMiddleware\BasePath\BasePathMiddleware::class);
$app->pipe(ServerUrlMiddleware::class);
// Pipe more middleware here that you want to execute on every request: