diff --git a/routes/web.php b/routes/web.php index e08d461..1caf6a1 100644 --- a/routes/web.php +++ b/routes/web.php @@ -54,5 +54,10 @@ Route::get('reports')->name('reports')->uses('ReportsController')->middleware('a // 500 error Route::get('500', function () { + // Force debug mode for this endpoint in the demo environment + if (App::environment('demo')) { + Config::set('app.debug', true); + } + echo $fail; });