Update RouteServiceProvider.php (#5818)

This commit is contained in:
emargareten 2022-02-16 16:18:19 +02:00 committed by GitHub
parent 345e46569d
commit 4a6229aa65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,11 +31,9 @@ class RouteServiceProvider extends ServiceProvider
$this->routes(function () {
Route::prefix('api')
->middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api.php'));
Route::middleware('web')
->namespace($this->namespace)
->group(base_path('routes/web.php'));
});
}