From ee2716ee4cb6facfd35812b75ada53801f1e1bef Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Mon, 10 May 2021 13:05:31 -0400 Subject: [PATCH] Remove "500 error" endpoint that just caused confusion --- resources/js/Pages/Dashboard/Index.vue | 5 ----- routes/web.php | 11 ----------- 2 files changed, 16 deletions(-) diff --git a/resources/js/Pages/Dashboard/Index.vue b/resources/js/Pages/Dashboard/Index.vue index 6e2378d..f69c461 100644 --- a/resources/js/Pages/Dashboard/Index.vue +++ b/resources/js/Pages/Dashboard/Index.vue @@ -2,11 +2,6 @@

Dashboard

Hey there! Welcome to Ping CRM, a demo app designed to help illustrate how Inertia.js works.

-
- 500 error - 404 error -
-

👆 These links are intended to be broken to illustrate how error handling works with Inertia.js.

diff --git a/routes/web.php b/routes/web.php index c4e87a6..d47841d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -138,14 +138,3 @@ Route::get('reports', [ReportsController::class, 'index']) // Images Route::get('/img/{path}', [ImagesController::class, 'show'])->where('path', '.*'); - -// 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; -});