* basepath pipeline added
This commit is contained in:
@@ -14,6 +14,7 @@ use Zend\Stratigility\Middleware\ErrorHandler;
|
||||
// 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:
|
||||
|
||||
Reference in New Issue
Block a user