Skip to content

Commit 35e3242

Browse files
author
ahmadhuss
committed
feat: Defined the RouteServiceProvider.php file
1 parent c8e0b07 commit 35e3242

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Providers/RouteServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public function boot()
3737
{
3838
$this->configureRateLimiting();
3939

40+
// Here by default Laravel prefixes the api routes
41+
// with the "api" keyword
4042
$this->routes(function () {
4143
Route::prefix('api')
4244
->middleware('api')

0 commit comments

Comments
 (0)