fix: Wrong controller
This commit is contained in:
parent
a1b401c148
commit
8f46166a9d
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ $frontController = new FrontController($container);
|
|||
$jsonController = new JsonController($container);
|
||||
$downloadController = new DownloadController($container);
|
||||
|
||||
$container['errorHandler'] = [$jsonController, 'error'];
|
||||
$container['errorHandler'] = [$frontController, 'error'];
|
||||
|
||||
$app->get(
|
||||
'/',
|
||||
|
|
Loading…
Reference in a new issue