* basepath middleware fixed
This commit is contained in:
parent
2a08e41d74
commit
ac504ae9da
@ -3,7 +3,7 @@
|
||||
return [
|
||||
'dependencies' => [
|
||||
'factories' => [
|
||||
LosMiddleware\BasePath\BasePath::class => LosMiddleware\BasePath\BasePathFactory::class,
|
||||
LosMiddleware\BasePath\BasePathMiddleware::class => LosMiddleware\BasePath\BasePathMiddlewareFactory::class,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user