改进和精简配置
This commit is contained in:
parent
6f78381f14
commit
deb170408d
File diff suppressed because one or more lines are too long
@ -10,4 +10,8 @@
|
|||||||
Route::post('logout', [AuthController::class, 'logout'])->name('logout');
|
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',
|
||||||
|
]);
|
||||||
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user