Update RouteServiceProvider.php (#5862)
This commit is contained in:
parent
039a99ad14
commit
b630eae0b3
|
@ -29,8 +29,8 @@ public function boot()
|
||||||
$this->configureRateLimiting();
|
$this->configureRateLimiting();
|
||||||
|
|
||||||
$this->routes(function () {
|
$this->routes(function () {
|
||||||
Route::prefix('api')
|
Route::middleware('api')
|
||||||
->middleware('api')
|
->prefix('api')
|
||||||
->group(base_path('routes/api.php'));
|
->group(base_path('routes/api.php'));
|
||||||
|
|
||||||
Route::middleware('web')
|
Route::middleware('web')
|
||||||
|
|
Loading…
Reference in New Issue