add error view 500 to app config

This commit is contained in:
Bence Pőcze 2023-04-18 23:21:06 +02:00
parent a7997429b7
commit fefc18b892
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -108,12 +108,12 @@ $appConfig = [
'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'], 'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'],
'antiCsrfTokenExceptions' => ['/oauth/token'], 'antiCsrfTokenExceptions' => ['/oauth/token'],
'loginRouteId' => 'login', 'loginRouteId' => 'login',
'error404View' => 'error/404' 'error404View' => 'error/404',
'error500View' => 'error/500'
]; ];
$httpReponse = new HttpResponse( $httpReponse = new HttpResponse(
Container::$request, Container::$request,
Container::$dbConnection,
Container::$routeCollection, Container::$routeCollection,
$appConfig, $appConfig,
$_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_METHOD'],