Renamed route api to route api v1.

This commit is contained in:
2023-03-05 20:42:09 +06:00
parent 587679a33c
commit f49cc60f9a
2 changed files with 2 additions and 6 deletions

View File

@@ -28,8 +28,8 @@ class RouteServiceProvider extends ServiceProvider
$this->routes(function () {
Route::middleware('api')
->prefix('api')
->group(base_path('routes/api.php'));
->prefix('api/v1')
->group(base_path('routes/api-v1.php'));
Route::middleware('web')
->group(base_path('routes/web.php'));