Skip to content

Commit

Permalink
feat(api): 增加根路由
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaiyuxin103 committed Jan 18, 2025
1 parent 239a101 commit c1af7fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@
Route::delete('users/{user}', [UserController::class, 'destroy']);
});
});

Route::get('/', function () {
return Response::success('Hello, Laravel Skeleton API!');
});

0 comments on commit c1af7fb

Please sign in to comment.