* deploy script added

* los basepath middleware added
This commit is contained in:
Dávid Danyi
2018-04-20 10:39:53 +02:00
parent 83f6c50af2
commit 8b28a73ed8
6 changed files with 123 additions and 1 deletions

View File

@@ -23,6 +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(ServerUrlMiddleware::class);
// Pipe more middleware here that you want to execute on every request: