diff --git a/index.php b/index.php index 105e294..c22e010 100644 --- a/index.php +++ b/index.php @@ -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);