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

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'));
});
}