This commit is contained in:
jitendra 2019-11-05 19:02:07 +05:30
parent 62d5fb1c15
commit 30e2a743e8
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Handler extends ExceptionHandler
*/
public function render($request, Exception $exception)
{
$path = 'admin';
$path = $this->isAdminUri() ? 'admin' : 'shop';
if ($exception instanceof HttpException) {
$statusCode = in_array($exception->getStatusCode(), [401, 403, 404, 503]) ? $exception->getStatusCode() : 500;