Update RouteServiceProvider.php (#5862)

This commit is contained in:
Ostap Brehin 2022-04-11 17:07:05 +03:00 committed by GitHub
parent 039a99ad14
commit b630eae0b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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