diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 701f5bf6..6ca1f035 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -135,7 +135,7 @@ private function customApiResponse($exception, $debug) default: $response['message'] = ($statusCode >= 500) ? 'Whoops, looks like something went wrong' : $exception->getMessage(); - if (env('APP_DEBUG')) { + if (config('app.debug')) { $response['originalMessage'] = $exception->getMessage(); $response['debug'] = $debug; } diff --git a/resources/views/landing.blade.php b/resources/views/landing.blade.php index e7c98fd6..b54c797e 100644 --- a/resources/views/landing.blade.php +++ b/resources/views/landing.blade.php @@ -8,7 +8,7 @@ -