改进和精简配置

This commit is contained in:
Twilight 2024-07-25 15:43:38 +08:00
parent 6f78381f14
commit deb170408d
2 changed files with 5 additions and 173 deletions

File diff suppressed because one or more lines are too long

View File

@ -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',
]);
});