diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index a9898e3..e69de29 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -1,172 +0,0 @@ - - - - - - - Laravel - - - - - - - - - -
- -
- -
-
- - diff --git a/routes/web.php b/routes/web.php index 9e05733..7ecfc70 100644 --- a/routes/web.php +++ b/routes/web.php @@ -10,4 +10,8 @@ Route::post('logout', [AuthController::class, 'logout'])->name('logout'); }); -Route::view('/', 'welcome')->name('home'); +Route::get('/', function () { + return response()->json([ + 'message' => 'Welcome to the Amber API', + ]); +});