Fix middleware order
So the base path is changed before other middlewares use it
This commit is contained in:
parent
e9cee39673
commit
21964f84ba
1 changed files with 1 additions and 1 deletions
|
@ -43,9 +43,9 @@ try {
|
|||
|
||||
// Middlewares.
|
||||
$app->add(new LocaleMiddleware($container));
|
||||
$app->add(new RouterPathMiddleware($container));
|
||||
$app->add(new CspMiddleware($container));
|
||||
$app->add(new LinkHeaderMiddleware($container));
|
||||
$app->add(new RouterPathMiddleware($container));
|
||||
|
||||
// Controllers.
|
||||
$frontController = new FrontController($container);
|
||||
|
|
Loading…
Reference in a new issue