Skip to content

Commit

Permalink
And no prefix for api
Browse files Browse the repository at this point in the history
  • Loading branch information
specialtactics committed Oct 13, 2019
1 parent 14484e0 commit b707922
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ protected function mapWebRoutes()
*/
protected function mapApiRoutes()
{
Route::prefix('api')
->middleware('api')
Route::middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api.php'));
}
Expand Down

0 comments on commit b707922

Please sign in to comment.