add error view 500 to app config
This commit is contained in:
parent
a7997429b7
commit
617ae903ae
3
web.php
3
web.php
@ -108,7 +108,8 @@ $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(
|
||||||
|
Loading…
Reference in New Issue
Block a user